๐Ÿ” CVE Alert

CVE-2026-6827

MEDIUM 6.1

justhtml before 1.17.0 Multiple Cross-Site Scripting Vulnerabilities

CVSS Score
6.1
EPSS Score
0.0%
EPSS Percentile
0th

justhtml before 1.17.0 contains multiple security issues in sanitization, serialization, and programmatic DOM handling. When custom policies preserve foreign namespaces (SVG/MathML), dangerous content such as HTML integration points (SVG <foreignObject>, MathML <annotation-xml encoding="text/html">) and mutation-XSS parser-differential payloads could survive sanitization and become active HTML after reparse; SVG filter="url(...)" and preserved <style> could leave resource-loading CSS (@import, background-image:url()). Programmatic script/style/Comment nodes could serialize into active markup. Additional hardening fixes address sanitize-pipeline cache mutation and DOM parent/child cycles that could cause infinite loops. Most issues affect advanced or custom configurations rather than the default JustHTML(..., sanitize=True) safe path.

CWE CWE-79
Vendor emilstenstrom
Product justhtml
Published Aug 23, 2026
Stay Ahead of the Next One

Get instant alerts for emilstenstrom justhtml

Be the first to know when new medium vulnerabilities affecting emilstenstrom justhtml are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

CVSS v3 Breakdown

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Affected Versions

EmilStenstrom / justhtml
0 < 1.16.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-vrx2-77f2-ww34 vulncheck.com: https://www.vulncheck.com/advisories/justhtml-before-multiple-cross-site-scripting-vulnerabilities

Credits

EmilStenstrom