CVE-2026-8630
Last modified
CVE-2026-8630 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 0.19% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EmilStenstrom | justhtml | < 1.12.0 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-8630?
How severe is CVE-2026-8630?
How do I fix CVE-2026-8630?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-86294A vulnerability has been found in SourceCodester Simple Traf…4.3
- CVE-2026-86295A vulnerability was found in D-Link DIR-895L A1_102b07. This…8.3
- CVE-2026-86296A vulnerability was determined in D-Link DIR-822A A_101. Thi…10
- CVE-2026-86297A vulnerability was identified in D-Link DIR-605 B1v202WWB03…8.1
- CVE-2026-86298A security flaw has been discovered in SourceCodester Class …7.3
- CVE-2026-86299A vulnerability was detected in Linksys RE7000 2.0.15. This …9.9
- CVE-2026-86300A flaw has been found in Tenda AC9 15.03.05.14. This impacts…7.3
- CVE-2026-86301A vulnerability has been found in code-projects Hospital Inf…3.5
- CVE-2026-86302A vulnerability was found in code-projects Hospital Informat…5.3
- CVE-2026-86303A vulnerability was determined in 92181 markdown up to 058ca…7.3
- CVE-2026-86304MojoX::Authentication versions before 0.006 for Perl allow S…
- CVE-2026-86305A security flaw has been discovered in light0011 cms c774dce…7.3
Are you affected by CVE-2026-8630?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
