XSS in Rhukster Dom-Sanitizer
CVE-2026-40301
- CVSS v3
- 4.7 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 26.2th percentile
- Published
- 2026-04-17
What to do
- Fixed in
1.0.10- Affected
- 1 affected product
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- Required
UI:R - Scope
- Changed
S:C - Confidentiality
- Low
C:L - Integrity
- None
I:N - Availability
- None
A:N
EPSS exploit prediction
EPSS 0.003, 26.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Rhukster Dom-Sanitizer — versions < 1.0.10