CVE-2026-40301: Rhukster Dom-Sanitizer

Medium severity, CVSS 4.7. EPSS: 0.4% chance of exploitation in the next 30 days.

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.

Affected products

  • Rhukster Dom-Sanitizer: before 1.0.10 (fixed in 1.0.10)

Published 2026-04-17. Last modified 2026-06-17.