XSS in Rhukster Dom-Sanitizer
CVE-2026-40301
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.7 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N.
EPSS exploit prediction
EPSS: 0.004 (35.6th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 36th percentile — 35.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.004 · change: +0.002
Affected products
- Rhukster Dom-Sanitizer — versions < 1.0.10
Weakness classification (CWE)
References
Frequently asked questions
- What is CVE-2026-40301?
- CVE-2026-40301 is a medium-severity vulnerability in Rhukster Dom-Sanitizer, classified under Cross-site Scripting. CVSS score: 4.7/10. Published 2026-04-17.
- How severe is CVE-2026-40301?
- Medium severity. CVSS v3 base score is 4.7 out of 10.