CVE-2026-8445
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 tomarkdown(). While a small set of Markdown metacharacters are escaped, characters such as < and > are preserved, so untrusted input that is safe in tohtml() — 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.
Package Versions Affected
Automatically patch vulnerabilities without upgrading
CVSS Version



Related Resources
References
https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/8xxx/CVE-2026-8445.json, https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-3rcm-vjrc-p45j, https://nvd.nist.gov/vuln/detail/CVE-2026-8445, https://www.vulncheck.com/advisories/justhtml-before-sanitizer-bypass-via-markdown