{"id":"CVE-2026-40301","sourceIdentifier":"security-advisories@github.com","published":"2026-04-17T21:16:34.850","lastModified":"2026-10-26T21:10:00.170","vulnStatus":"Deferred","cveTags":[],"descriptions":[{"lang":"en","value":"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."},{"lang":"es","value":"DOMSanitizer es un saneador de DOM/SVG/MathML para PHP 7.3+. Antes de la versión 1.0.10, DOMSanitizer::sanitize() permite elementos [style] en contenido SVG pero nunca inspecciona su contenido de texto. Las referencias CSS url() y las reglas @import pasan sin filtrar, lo que hace que el navegador emita solicitudes HTTP a hosts controlados por el atacante cuando se renderiza el SVG saneado. La versión 1.0.10 soluciona el problema."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"rhukster","product":"dom-sanitizer","versions":[{"version":"< 1.0.10","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","baseScore":4.7,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-04-20T14:42:31.756128Z","id":"CVE-2026-40301","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]}],"references":[{"url":"https://github.com/rhukster/dom-sanitizer/commit/49a98046b708a4c92f754f5b0ef1720bb85142e2","source":"security-advisories@github.com"},{"url":"https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.10","source":"security-advisories@github.com"},{"url":"https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-93vf-569f-22cq","source":"security-advisories@github.com"}]}