Cross-site scripting via blank-line code-span breakout
Published Aug 23, 2026 · Updated Aug 23, 2026
Cross-site scripting in JustHTML 0.9.0 through 1.21.0 allows remote attackers to execute script via crafted code or pre text. The to_markdown() path sends verbatim code and linked pre text with blank lines to _markdown_code_span(), which sizes only the backtick fence and emits later text unescaped. Exploitation requires attacker-controlled HTML to pass through default sanitization and Markdown conversion, followed by a user viewing the output in a compliant renderer that permits raw HTML.
Summary
What happened
Cross-site scripting in JustHTML 0.9.0 through 1.21.0 allows remote attackers to execute script via crafted code or pre text. The to_markdown() path sends verbatim code and linked pre text with blank lines to _markdown_code_span(), which sizes only the backtick fence and emits later text unescaped. Exploitation requires attacker-controlled HTML to pass through default sanitization and Markdown conversion, followed by a user viewing the output in a compliant renderer that permits raw HTML.
The record
- CVE
- CVE-2026-77088
- Published
- Aug 23, 2026
- Updated
- Aug 23, 2026
- Vendor
- Emil Stenström
- Product
- JustHTML
- Classifications
- CWE-79, CWE-116, T1203
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Aug 23, 2026CVE publishedPublication date reported by the CVE source.
- Aug 23, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Affected versions are unavailable in this record. Check the vendor advisory for version and patch details.
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- GHSA-jf6w-2mvx-633j Docker PoCproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo