CVE-2026-6827
published medium CVSS 4.0 · 5.1justhtml before 1.17.0 Multiple Cross-Site Scripting Vulnerabilities
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| EmilStenstrom | — | justhtml0 to < 1.17.0 (affected · semver) · 1.17.0 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.1 / 10
- Severity
- medium
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 6.1 | medium | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| EmilStenstrom | justhtml | 0 to < 1.17.0 (affected · semver)1.17.0 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
2- GitHub Security Advisory (GHSA-vrx2-77f2-ww34) https://github.com/EmilStenstrom/justhtml/security/advisories/GHSA-vrx2-77f2-ww34
- VulnCheck Advisory: justhtml before 1.17.0 Multiple Cross-Site Scripting Vulnerabilities https://www.vulncheck.com/advisories/justhtml-before-multiple-cross-site-scripting-vulnerabilities
Provider assertions
2VulnCheck · cna
justhtml before 1.17.0 Multiple Cross-Site Scripting Vulnerabilities
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 824ae10f20a808faf804c97527e0bb050ea9b2932fb8f5219904f10ff4fcce83
- Ingested
- 23 Sep 2026, 09:28:47 UTC
- Source record
- Official CVE record