Vulnerability

CVE-2026-117540

highCVSS 4.0 8.7Published 27 Oct 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /darylldoyle/svg-sanitizer/commit/9ba9001493f5da737759303f1…
  • github.com /darylldoyle/svg-sanitizer/security/advisories/GHSA-2v7c-jx…
  • www.vulncheck.com /advisories/svg-sanitizer-before-1.1.0-quadratic-cpu-exhaus…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning