Medium severity4.7NVD Advisory· Published Apr 17, 2026· Updated Apr 29, 2026
CVE-2026-40301
CVE-2026-40301
Description
DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.10, DOMSanitizer::sanitize() allows elements in SVG content but never inspects their text content. CSS url() references and @import rules pass through unfiltered, causing the browser to issue HTTP requests to attacker-controlled hosts when the sanitized SVG is rendered. Version 1.0.10 fixes the issue.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
rhukster/dom-sanitizerPackagist | < 1.0.10 | 1.0.10 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/advisories/GHSA-93vf-569f-22cqghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-40301ghsaADVISORY
- github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2nvdWEB
- github.com/rhukster/dom-sanitizer/releases/tag/1.0.10nvdWEB
- github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cqnvdWEB
News mentions
0No linked articles in our index yet.