{"id":"CVE-2026-107379","published":"2026-10-08T18:04:42Z","modified":"2026-10-09T11:43:37Z","title":"enshrined/svg-sanitize: Denial of Service via DTD Attribute Declaration Crash","vendor":"darylldoyle","product":"svg-sanitizer","tier":"tail","description":{"text":"savg-sanitizer is a PHP SVG/XML sanitizer. Prior to 1.0.0, svg-sanitizer allows a crafted SVG DTD with a #FIXED attribute default to make cleanAttributesOnWhitelist() perform a double DOMElement::removeAttribute() call on the same attribute name in src/Sanitizer.php. The first removal deletes the explicit attribute, while the DTD default rematerializes the value before the href safety path performs the second removal, which can corrupt libxml state and terminate the PHP worker. An attacker who can submit SVG content to a sanitization endpoint can repeatedly interrupt workers and degrade or exhaust application availability. This issue is fixed in version 1.0.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0053,"percentile":0.38243,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-v383-3rw5-q8rf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867","tags":["x_refsource_MISC"]},{"url":"https://github.com/darylldoyle/svg-sanitizer/releases/tag/1.0.0","tags":["x_refsource_MISC"]}],"priority":{"score":12.2,"factors":[{"name":"EPSS percentile","points":7.65},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"darylldoyle","affectedVersions":[{"vendor":"darylldoyle","product":"svg-sanitizer","versions":["< 1.0.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-09T11:43:18.142449Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"enshrined/svg-sanitize","vulnerableRanges":["<1.0.0"],"patched":["1.0.0"],"from":["GHSA-v383-3rw5-q8rf"],"provenance":"source"}],"summary":{"text":"The svg-sanitizer PHP library, prior to version 1.0.0, mishandles a crafted SVG DTD that declares a #FIXED attribute default, causing a double attribute removal in cleanAttributesOnWhitelist() within src/Sanitizer.php that can corrupt libxml state. An attacker who can submit SVG content to a sanitization endpoint with low privileges and no user interaction can repeatedly crash PHP worker processes, degrading or exhausting application availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:42:24Z"},"euvd":{"id":"EUVD-2026-95136","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-darylldoyle-svg-sanitizer-cve-2019-18857","parents":[{"from":"CVE-2019-10772","to":"CVE-2026-107379","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Sanitizer.php"],"commits":["https://github.com/darylldoyle/svg-sanitizer/commit/6add43e5c5649bc40e3afcb68c522720dcb336f9","https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867"],"basis":"shared function","functions":["cleanAttributesOnWhitelist","startClean"]}]},{"from":"CVE-2022-23638","to":"CVE-2026-107379","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Sanitizer.php"],"commits":["https://github.com/darylldoyle/svg-sanitizer/commit/17e12ba9c2881caa6b167d0fbea555c11207fbb0","https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867"],"basis":"shared function","functions":["sanitize","startClean"]}]},{"from":"CVE-2025-55166","to":"CVE-2026-107379","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Sanitizer.php"],"commits":["https://github.com/darylldoyle/svg-sanitizer/commit/5a0a1eaf0c6b0b540dc945fe30c93cf106b357c1","https://github.com/darylldoyle/svg-sanitizer/commit/0afa95ea74be155a7bcd6c6fb60c276c39984500","https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867"],"basis":"shared function","functions":["cleanAttributesOnWhitelist"]}]}],"children":[{"from":"CVE-2026-107379","to":"CVE-2026-117540","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Sanitizer.php"],"commits":["https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867","https://github.com/darylldoyle/svg-sanitizer/commit/9ba9001493f5da737759303f13bd965ebdaa778c"],"basis":"shared function","functions":["cleanAttributesOnWhitelist","hasRemoteReference","sanitize","startClean"]}]},{"from":"CVE-2026-107379","to":"CVE-2026-117541","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/Sanitizer.php"],"commits":["https://github.com/darylldoyle/svg-sanitizer/commit/23877db7e76f1e1df5c3e65ab30239219c3d2867","https://github.com/darylldoyle/svg-sanitizer/commit/9ba9001493f5da737759303f13bd965ebdaa778c"],"basis":"shared function","functions":["cleanAttributesOnWhitelist","hasRemoteReference","sanitize","startClean"]}]}]}}