CVE-2026-40301
Last modified
CVE-2026-40301 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.10, DOMSanitizer::sanitize() allows <style> elements in SVG content but never inspects their text content. EPSS estimates a 0.27% chance of exploitation in the next 30 days.
Description
DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.10, DOMSanitizer::sanitize() allows <style> 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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-40301?
How severe is CVE-2026-40301?
How do I fix CVE-2026-40301?
Are you affected by CVE-2026-40301?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
