rhukster dom-sanitizer 1.0.10 before 1.0.13 contains a CSS filter bypass vulnerability in hasDangerousStyleContent()
Affects dom-sanitizerSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium : upgrade to 1.0.13 when convenient.
Data as of 5 Dec 2026, 19:57 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 5.3 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 4.3 |
- Patch
- Available – fixed in 1.0.13
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 5 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 5 Dec 2026.
What to do
Upgrade rhukster/dom-sanitizer to 1.0.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Packagistrhukster/dom-sanitizerpkg:composer/rhukster/dom-sanitizerOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in rhukster dom-sanitizer version 1.0.13. Users should upgrade to version 1.0.13 or later to remediate this vulnerability. No other mitigation guidance is provided or necessary as the issue is resolved by the official patch.
Description
rhukster dom-sanitizer versions before 1.0.13 have a vulnerability in the hasDangerousStyleContent() function that allows attackers to bypass CSS filter sanitization. This enables attackers to embed external resource references using image-set() or -webkit-image-set() in HTML or SVG markup, causing browsers to fetch attacker-controlled URLs. This behavior can disclose the viewer's IP address, User-Agent, and confirm that the content was viewed.
References
- github.com/rhukster/dom-sanitizer/security/advisories/GHSA-ww22-4mqv-x5w3 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-145568 (opens in a new tab)
- github.com/rhukster/dom-sanitizer/commit/9d562e46053e2b7a58146c89a865c984a7e13fe7 (opens in a new tab)
- github.com/rhukster/dom-sanitizer/blob/1.0.12/src/DOMSanitizer.php (opens in a new tab)
- github.com/rhukster/dom-sanitizer/releases/tag/1.0.13 (opens in a new tab)
- vulncheck.com/advisories/rhukster-dom-sanitizer-1.0.10-before-1.0.13-css-filter-bypass-via-image-set (opens in a new tab)