CVE Catalog

CVE-2026-77088

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

8th percentile - higher than 8% of all known CVEs

Summary

justhtml versions 0.9.0 through 1.21.0 contain a cross-site scripting vulnerability in to_markdown() where inline code spans fail to account for blank lines as block boundaries. Attackers can inject blank lines into code or pre element text to break the inline span, causing sanitized HTML to be emitted unescaped and re-parsed as live Markdown by compliant renderers.

Risk Assessment

The organization may be exposed to XSS if using to_markdown() on untrusted input and rendering the output in a browser. An attacker can inject malicious Markdown that gets executed as HTML.

Recommendation

Update justhtml to version 1.22.0 or later (if available). Avoid using to_markdown() on untrusted data or additionally sanitize the output.

Other vulnerabilities in justhtml

See all
Original NVD description (English source)

justhtml versions 0.9.0 through 1.21.0 contain a cross-site scripting vulnerability in to_markdown() where inline code spans fail to account for blank lines as block boundaries. Attackers can inject blank lines into code or pre element text to break the inline span, causing sanitized HTML to be emitted unescaped and re-parsed as live Markdown by compliant renderers.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS