{"schema":"threatline.record/2","record":{"id":"CVE-2026-100370","aliases":["GHSA-wcj2-r6vg-rm97"],"summary":"DOMSanitizer - Incomplete data: URL Sanitization in DOMSanitizer::isDangerousUrl() Allows Base64-Encoded Payloads to Bypass href and xlink:href Validation","details":"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.","categories":["Unclassified"],"product":"dom-sanitizer","vendor":"rhukster","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-100370","source_modified_at":"2026-09-28T20:40:03.613Z","fetched_at":"2026-10-23T18:52:38.922436Z","product":"dom-sanitizer","vendor":"rhukster","versions":[{"version":"< 1.0.15","status":"affected"}],"defaultStatus":null}],"fixed_versions":[],"cvss":4.7,"severity":"Medium","kev":{"listed":false},"epss":{"probability":0.00274,"percentile":0.18766,"score_date":"2026-10-23"},"published_at":"2026-09-28T20:07:09.470Z","modified_at":"2026-09-28T20:40:03.613Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-100370","fetched_at":"2026-10-23T18:52:38.922436Z","source_modified_at":"2026-09-28T20:40:03.613Z"},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-100370","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/rhukster/dom-sanitizer/security/advisories/GHSA-wcj2-r6vg-rm97","tags":["exploit"]},{"source":"CVE List","url":"https://github.com/rhukster/dom-sanitizer/commit/10f97807e4501d60f63987f2e76a38cdbf312dcb","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/rhukster/dom-sanitizer/commit/fb8f758b41134fc5fb2f563666f2330c69e31f94","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/rhukster/dom-sanitizer/releases/tag/1.0.15","tags":["x_refsource_MISC"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CVE List","ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial","assessed_at":"2026-09-28T20:39:56.823996Z"},"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-09-28T20:40:03.613Z","content_hash":"115ff2091554e8ff0486bf26f538e007f410e50e202b7a208ee0f91e50b14100"}}
