CVE-2026-8630

published 23 Aug 2026 · updated 26 Aug 2026

justhtml before 1.12.0 Mutation XSS via Raw Text Elements

6.1MediumCVSS 6.1EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 1.12.0.

justhtml before 1.12.0 (versions <= 1.11.0) contains a mutation cross-site scripting (mXSS) vulnerability in the serialization of raw-text elements such as <style> and <script>. When a DOM tree is processed by sanitize_dom() using a custom policy that keeps these elements, text nodes inside them are serialized literally without escaping, allowing attacker-controlled text containing the matching closing tag sequence to break out of the raw-text context and inject arbitrary HTML into the serialized output. The default sanitization policy is not affected because it drops the contents of style and script.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
EmilStenstrom<1.12.01.12.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-8630 severity on Zeptric[![CVE-2026-8630](https://zeptric.io/badge/cve/CVE-2026-8630.svg)](https://zeptric.io/cve/CVE-2026-8630)