Machine-written summary
Summary written by Claude Haiku from the source advisory. Not reviewed by a person.
The justhtml package, versions from 1.13.0 before 1.14.0, is vulnerable to mutation cross-site scripting when a custom sanitization policy keeps foreign namespaces such as SVG or MathML. Crafted input can sanitize into markup that looks safe but becomes active HTML when re-parsed by a browser or another parser. Upgrade to justhtml 1.14.0. Until then, keep drop_foreign_namespaces set to True and avoid allowlisting foreign or raw-text elements for untrusted input.
Not analysed yet
We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.
Severity and exploitation
| Score | Rating | CVSS | Vector | Source |
|---|---|---|---|---|
| 5.1 | Medium | 4.0 | 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 | CNA (VulnCheck) |
- CISA KEV Not listed.
- EPSS 0.0026, the 18th percentile, on 17 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.
Timeline
- 31 Oct 2026, 14:39 UTC First seen by agentprime
- 31 Oct 2026, 14:39 UTC Confirmed by OSV
Sources
- GitHub Advisory Database: GHSA-r758-8hxw-4845
- OSV: GHSA-r758-8hxw-4845
- github.com/EmilStenstrom/justhtml/security/advisories/GHSA-r758-8hxw-4845
- github.com/EmilStenstrom/justhtml/commit/8adc4dfe31723dc522f44338f9bd98381c92b076
- github.com/EmilStenstrom/justhtml
- github.com/EmilStenstrom/justhtml/releases/tag/v1.14.0