CVE-2026-8445: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in EmilStenstrom justhtml
justhtml versions up to 1.11.0 have a cross-site scripting (XSS) vulnerability due to improper escaping of HTML-significant characters in Markdown output. This allows untrusted input containing certain HTML entities or text from specific HTML elements to be rendered as raw HTML, potentially bypassing sanitizers and enabling XSS attacks. The issue is fixed in version 1.12.0.
AI Analysis
Technical Summary
The vulnerability in justhtml (CVE-2026-8445) arises because the to_markdown() function does not sufficiently escape angle brackets (< and >) in text nodes when converting parsed HTML to Markdown. While some Markdown metacharacters are escaped, these critical characters remain, allowing entity-decoded input or text from RCDATA/RAWTEXT elements like <title>, <textarea>, <noscript>, and <plaintext> to be emitted as raw HTML. This can lead to sanitizer bypass and cross-site scripting when the Markdown output is rendered. The flaw affects justhtml versions up to 1.11.0 and is fixed in 1.12.0.
Potential Impact
An attacker can inject malicious HTML or script code into Markdown output generated by justhtml, potentially leading to cross-site scripting attacks when the Markdown is rendered. This can compromise confidentiality, integrity, and availability of affected systems or user data. The CVSS 4.0 score is 9.3 (critical), indicating high impact with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in justhtml version 1.12.0. Users should upgrade to version 1.12.0 or later to remediate this vulnerability. No other official remediation guidance is provided. Patch status is confirmed by the version fix information.
CVE-2026-8445: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in EmilStenstrom justhtml
Description
justhtml versions up to 1.11.0 have a cross-site scripting (XSS) vulnerability due to improper escaping of HTML-significant characters in Markdown output. This allows untrusted input containing certain HTML entities or text from specific HTML elements to be rendered as raw HTML, potentially bypassing sanitizers and enabling XSS attacks. The issue is fixed in version 1.12.0.
CVSS v4.0
Score 9.3critical
Affected software
pkg:github/emilstenstrom/justhtmlRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in justhtml (CVE-2026-8445) arises because the to_markdown() function does not sufficiently escape angle brackets (< and >) in text nodes when converting parsed HTML to Markdown. While some Markdown metacharacters are escaped, these critical characters remain, allowing entity-decoded input or text from RCDATA/RAWTEXT elements like <title>, <textarea>, <noscript>, and <plaintext> to be emitted as raw HTML. This can lead to sanitizer bypass and cross-site scripting when the Markdown output is rendered. The flaw affects justhtml versions up to 1.11.0 and is fixed in 1.12.0.
Potential Impact
An attacker can inject malicious HTML or script code into Markdown output generated by justhtml, potentially leading to cross-site scripting attacks when the Markdown is rendered. This can compromise confidentiality, integrity, and availability of affected systems or user data. The CVSS 4.0 score is 9.3 (critical), indicating high impact with network attack vector, no privileges or user interaction required, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
A fix is available in justhtml version 1.12.0. Users should upgrade to version 1.12.0 or later to remediate this vulnerability. No other official remediation guidance is provided. Patch status is confirmed by the version fix information.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-05-12T20:21:38.368Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a8afb27acd9273b49f5f72f
Added to database: 08/23/2026, 13:52:39 UTC
Last enriched: 08/23/2026, 14:07:12 UTC
Last updated: 08/23/2026, 15:01:39 UTC
Views: 5
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.