
Cloud Vulnerability DB
A community-led vulnerabilities database
justhtml 1.16.0 fixes multiple security issues in sanitization, serialization, and programmatic DOM handling.
Most of these issues affected one of these advanced paths rather than ordinary parsed HTML with the default safe settings:
sanitize() or sanitize_dom()justhtml <= 1.15.0justhtml 1.16.0 released on April 12, 2026Nested mutation of sanitization policy internals could weaken later sanitization by leaving stale compiled sanitizers active, or by mutating exported default policy internals process-wide.
Programmatic DOM sanitization could miss dangerous mixed-case tag names such as ScRiPt or StYlE, and custom drop_content_tags values such as {"SCRIPT"} could silently fail to drop dangerous subtrees.
Crafted programmatic doctype names could serialize into active markup before the document body.
Custom policies that preserve SVG or MathML could allow active SVG features to survive sanitization, including:
<set> and <animate> that mutate already-sanitized attributes after sanitizationfill, clip-path, mask, marker-start, and cursor containing external url(...) referencesnamespace="html" but serialize as <svg> or <math>, bypassing foreign-content checksMixed-case programmatic style or script nodes could bypass rawtext hardening and preserve active stylesheet content such as remote @import rules.
Most of these issues did not affect the normal JustHTML(..., sanitize=True) path for ordinary parsed HTML.
The main exceptions were policy-mutation issues, which could weaken later sanitization if code mutated nested state on reused policy objects or exported defaults.
Upgrade to justhtml 1.16.0.
If you cannot upgrade immediately:
DEFAULT_POLICY, DEFAULT_DOCUMENT_POLICY, or nested policy internalsstyle or script in custom policies for untrusted inputDiscovered during an internal security review of justhtml.
Source: NVD
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."