Read the docs
TI-2026-64648 Aliases CVE-2026-100370

Improper input validation in rhukster dom-sanitizer

Priority MEDIUM 55CWE-20Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.15, the isDangerousUrl() method is responsible for rejecting dangerous URL values in the href and xlink:href attributes. The weakness is that "javascript:" is rejected as a scheme, while "data:" is rejected only when the literal substring onload appears in the URL value (/^data:.*onload/i). Because data: payloads are routinely Base64-encoded, the dangerous content (<script>, event handlers, etc.) is invisible to that substring test. A URL such as data:text/html;base64,… therefore survives in href / xlink:href, even though the decoded payload is active markup. This is an incomplete input-validation / sanitization defect in the sanitizer itself. This issue has been patched in version 1.0.15.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00274 19th percentileScored 2026-11-07
Fix Fixed dom-sanitizer (rhukster): 1.0.15

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
rhuksterdom-sanitizerbefore 1.0.151.0.15Patch availableCNA
  • dom-sanitizer Vendorrhukster Affected before 1.0.15 Fixed in 1.0.15 Patch available CNA

Remediation

  • Fix · CNA dom-sanitizer (rhukster) Fixed in 1.0.15

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-100370

References

  • TI-2026-65752 rhukster dom-sanitizer SVG Sanitization DOMSanitizer.php url incomplete blacklist CVSS 4.0MEDIUM 6.9
  • TI-2026-65751 rhukster dom-sanitizer URL Validation DOMSanitizer.php isDangerousUrl cross site scripting CVSS 4.0MEDIUM 5.1
  • TI-2026-29079 rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives CVSS 3.1MEDIUM 4.7

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences