# CVE-2026-40301

> Vulnerability · severity: **MEDIUM** (CVSS 4.7).

## 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.

## Key facts

- **CVE ID:** CVE-2026-40301
- **Published:** 2026-04-17
- **CVSS severity:** MEDIUM
- **CVSS base score:** 4.7
- **CWE codes:** CWE-79

## Primary sources

- NIST NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-40301

## Citation

> AI Analytics. CVE-2026-40301. Retrieved 2026-07-20 from https://api.ai-analytics.org/cve/CVE-2026-40301. Derived from NIST NVD. Licensed CC0.

---

*[Dataset catalog](https://api.ai-analytics.org/datasets/) · [AI Analytics](https://api.ai-analytics.org/) · CC0 1.0*