CVE-2026-40301
medium
CVSS v3
4.7
CVSS v4 NEW
โ
VIR risk
4.7
Description
rhukster/dom-sanitizer: SVG <style> tag allows CSS injection via unfiltered url() and @import directives
Predictions
Exploit likelihood
57%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Packagist | rhukster/dom-sanitizer | <1.0.10 | 1.0.10 |
References
- https://github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2
- https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.10
- https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cq
- https://nvd.nist.gov/vuln/detail/CVE-2026-40301
- https://github.com/rhukster/dom-sanitizer
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.