{"id":"CVE-2026-117540","aliases":["CVE-2026-117540"],"related":[],"kind":"vulnerability","state":"published","title":"svg-sanitizer before 1.1.0 Quadratic CPU-Exhaustion DoS via PHP-Tag Stripping Loop","summary":"svg-sanitizer from 0.5.3 before 1.1.0 contains a denial of service vulnerability in Sanitizer::sanitize() that repeatedly rescans the whole input while stripping PHP tags. Unauthenticated attackers can upload SVGs with many overlapping PHP tag openers and closers, forcing quadratic preg_replace passes that exhaust worker CPU for minutes.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"svg-sanitizer from 0.5.3 before 1.1.0 contains a denial of service vulnerability in Sanitizer::sanitize() that repeatedly rescans the whole input while stripping PHP tags. Unauthenticated attackers can upload SVGs with many overlapping PHP tag openers and closers, forcing quadratic preg_replace passes that exhaust worker CPU for minutes.","source":"cvelist"}],"published":"2026-10-27T10:59:34.119Z","modified":"2026-11-02T19:18:01.290Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","score":8.7,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-407"],"affected":[{"ranges":[{"type":"semver","introduced":"0.5.3","fixed":"1.1.0","status":"affected"},{"type":"semver","version":"1.1.0","status":"unaffected"}],"vendor":"darylldoyle","product":"svg-sanitizer","source":"cvelist"}],"references":[{"url":"https://github.com/darylldoyle/svg-sanitizer/security/advisories/GHSA-2v7c-jx29-jprp","tags":["exploit","vendor-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/darylldoyle/svg-sanitizer/commit/9ba9001493f5da737759303f13bd965ebdaa778c","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/svg-sanitizer-before-1.1.0-quadratic-cpu-exhaustion-dos-via-php-tag-stripping-loop","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["AlpetGexha"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"partial","date":"2026-11-02T19:10:52.914Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-117540","url":"https://www.cve.org/CVERecord?id=CVE-2026-117540","licence":"CVE Terms of Use","modified":"2026-11-02T19:11:08.157Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-117540","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-117540","licence":"Public domain","modified":"2026-11-02T19:18:01.290Z"}],"updatedAt":"2026-11-25T22:59:47.351Z","epss":{"score":0.00466,"percentile":0.42015,"date":"2026-12-01T12:00:22.000Z"}}