Live threats

All CVEs / rhukster

CVE-2026-40301rhukster dom-sanitizer

Medium 4.7 No auth needed

Priority
43
CVSS 3.1
4.7
EPSS
—
Auth required
No
Published
Apr 17, 2026
Updated
Oct 26, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for dom-sanitizer.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist rhukster/dom-sanitizer < 1.0.10 1.0.10 composer require "rhukster/dom-sanitizer:^1.0.10"

Per OSV / GitHub Advisories (GHSA-93vf-569f-22cq). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.