{"id":"CVE-2026-100370","published":"2026-09-28T20:07:09Z","modified":"2026-09-28T20:40:03Z","title":"DOMSanitizer - Incomplete data: URL Sanitization in DOMSanitizer::isDangerousUrl() Allows Base64-Encoded Payloads to…","vendor":"rhukster","product":"dom-sanitizer","tier":"tail","description":{"text":"DOMSanitizer is a DOM/SVG/MathML Sanitizer for PHP 7.3+. Prior to version 1.0.15, the isDangerousUrl() method is responsible for rejecting dangerous URL values in the href and xlink:href attributes. The weakness is that \"javascript:\" is rejected as a scheme, while \"data:\" is rejected only when the literal substring onload appears in the URL value (/^data:.*onload/i). Because data: payloads are routinely Base64-encoded, the dangerous content (<script>, event handlers, etc.) is invisible to that substring test. A URL such as data:text/html;base64,… therefore survives in href / xlink:href, even though the decoded payload is active markup. This is an incomplete input-validation / sanitization defect in the sanitizer itself. This issue has been patched in version 1.0.15.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00274,"percentile":0.20013,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"references":[{"url":"https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-wcj2-r6vg-rm97","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rhukster/dom-sanitizer/commit/10f97807e4501d60f63987f2e76a38cdbf312dcb","tags":["x_refsource_MISC"]},{"url":"https://github.com/rhukster/dom-sanitizer/commit/fb8f758b41134fc5fb2f563666f2330c69e31f94","tags":["x_refsource_MISC"]},{"url":"https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.15","tags":["x_refsource_MISC"]}],"priority":{"score":7.3,"factors":[{"name":"EPSS percentile","points":4.0},{"name":"CVSS severity","points":3.29}]},"vendorSlug":"rhukster","affectedVersions":[{"vendor":"rhukster","product":"dom-sanitizer","versions":["< 1.0.15"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-09-28T20:39:56.823996Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-88477","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rhukster-dom-sanitizer-cve-2023-49146","parents":[{"from":"CVE-2023-49146","to":"CVE-2026-100370","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/DOMSanitizer.php"],"commits":["https://github.com/rhukster/dom-sanitizer/commit/c2a98f27ad742668b254282ccc5581871d0fb601","https://github.com/rhukster/dom-sanitizer/commit/10f97807e4501d60f63987f2e76a38cdbf312dcb","https://github.com/rhukster/dom-sanitizer/commit/fb8f758b41134fc5fb2f563666f2330c69e31f94"],"basis":"shared function","functions":["DOMSanitizer","regexCleaning"]}]}],"children":[{"from":"CVE-2026-100370","to":"CVE-2026-103686","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/DOMSanitizer.php"],"commits":["https://github.com/rhukster/dom-sanitizer/commit/10f97807e4501d60f63987f2e76a38cdbf312dcb","https://github.com/rhukster/dom-sanitizer/commit/fb8f758b41134fc5fb2f563666f2330c69e31f94","https://github.com/rhukster/dom-sanitizer/commit/4623b565d060bc02ca5a07d8c8241fe28e2edfda"],"basis":"shared function","functions":["DOMSanitizer","isDangerousStyleAttribute"]}]}]}}