CVE Explorer
CVE-2026-40301
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"dom-sanitizer","vendor":"rhukster","versions":[{"status":"affected","version":"< 1.0.10"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:2886f7216b20a3ea1973f1703572ebd8adc84636154537d5ea20850656bffa12 · sha256:024fa7010b48cd06… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.7,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:2886f7216b20a3ea1973f1703572ebd8adc84636154537d5ea20850656bffa12 · sha256:024fa7010b48cd06… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:2886f7216b20a3ea1973f1703572ebd8adc84636154537d5ea20850656bffa12 · sha256:024fa7010b48cd06… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2","tags":["x_refsource_MISC"],"url":"https://github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2886f7216b20a3ea1973f1703572ebd8adc84636154537d5ea20850656bffa12 · sha256:024fa7010b48cd06… · /containers/cna/references/1
{"name":"https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.10","tags":["x_refsource_MISC"],"url":"https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.10"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2886f7216b20a3ea1973f1703572ebd8adc84636154537d5ea20850656bffa12 · sha256:024fa7010b48cd06… · /containers/cna/references/2
{"name":"https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cq","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:2886f7216b20a3ea1973f1703572ebd8adc84636154537d5ea20850656bffa12 · sha256:024fa7010b48cd06… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.