CVE-2026-77088
5.3
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
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.
Affected Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| EmilStenstrom | justhtml | 0 < 0.9.0 | unaffected |
Weaknesses
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
- https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-jf6w-2mvx-633j
- https://www.vulncheck.com/advisories/justhtml-through-cross-site-scripting-via-code-span
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.