CVE-2026-40301

Medium

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.

SeverityMedium
CVSS4.7
Exploit probability—
ProductRhukster/dom-sanitizer
PublishedApr 17, 2026
First seenApr 17, 2026

How to fix

Update
  • rhukster/dom-sanitizer1.0.10 or later

Affected products

ProductAffected versionsFixed in
rhukster/dom-sanitizerPackagistv < 1.0.101.0.10

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2026-40301 · Rhukster/dom-sanitizer · Dark Radar