justhtml before 1.12.0 Sanitizer Bypass via Markdown
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-79.
Summary
justhtml versions <= 1.11.0 (fixed in 1.12.0) do not sufficiently escape HTML-significant characters (angle brackets) in text nodes when converting a parsed document to Markdown via to_markdown(). While a small set of Markdown metacharacters are escaped, characters such as < and > are preserved, so untrusted input that is safe in to_html() — including entity-decoded text (e.g. <script>) or text from RCDATA/RAWTEXT-parsed elements like <title>, <textarea>, <noscript>, and <plaintext> — can be emitted as raw HTML in the Markdown output, enabling a sanitizer bypass and potential cross-site scripting when that output is rendered.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| EmilStenstrom | justhtml | before 1.12.0 | 1.12.0 | Patch available | CNA |
- justhtml VendorEmilStenstrom Affected before 1.12.0 Fixed in 1.12.0 Patch available CNA
Remediation
- Fix · CNA justhtml (EmilStenstrom) Fixed in 1.12.0
Fixed in the same release
Records fixed by the same vendor advisory or release, as the CNA lists them.
- Release ·
EmilStenstrom justhtml 1.12.0
2 records Highest priority Priority HIGH 1 HIGH, 1 LOW
Other records, highest priority first
- TI-2026-07586 justhtml before 1.12.0 Mutation XSS via Raw Text ElementsPriority LOW 23
Timeline
- 2026-10-02 Threatist record created from CVE-2026-8445
- 2026-10-03 Alias added: GHSA-wf6m-786j-gxrr
- 2026-10-25 EPSS moved to the 50th–90th percentile
References
More EmilStenstrom vulnerabilities
- TI-2026-08560 justhtml before 1.10.0 Denial of Service via deeply nested HTML CVSS 4.0HIGH 8.7
- TI-2026-52557 justhtml before 3.11.0 XSS via selectedcontent projection CVSS 4.0MEDIUM 5.1
- TI-2026-04717 justhtml before 1.13.0 XSS via code fence breakout CVSS 4.0MEDIUM 5.1
- TI-2026-06871 justhtml before 1.16.0 Multiple Security Issues via Sanitization CVSS 4.0CRITICAL 9.3
- TI-2026-04716 justhtml before 1.15.0 Multiple Security Issues CVSS 4.0CRITICAL 9.3
- TI-2026-04066 justhtml before 1.18.0 Denial of Service via CSS Selector CVSS 4.0HIGH 8.7
Sources
- CVE-2026-8445 · CVE Program
- CVE-2026-8445 · NVD
- FIRST EPSS
- GHSA-wf6m-786j-gxrr · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences