CVE Catalog

CVE-2026-29074

HighCVSS 7.5
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.61%

46th percentile - higher than 46% of all known CVEs

Summary

SVGO, a Node.js library for optimizing SVG files, is vulnerable to an XML Entity Expansion (XML bomb) attack. From version 2.1.0 to before 2.8.1, from 3.0.0 to before 3.3.3, and before version 4.0.1, SVGO accepts XML with custom entities without guards against entity expansion or recursion. A small XML file (811 bytes) can stall the application and crash the Node.js process with JavaScript heap out of memory.

Risk Assessment

An attacker can send a specially crafted SVG file that exhausts JavaScript heap memory, causing a denial of service (DoS) and crashing the application using SVGO.

Recommendation

Immediately update SVGO to version 2.8.1, 3.3.3, or 4.0.1, depending on your major version. This will patch the vulnerability.

Other vulnerabilities in SVGO

See all
Original NVD description (English source)

SVGO, short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files. From version 2.1.0 to before version 2.8.1, from version 3.0.0 to before version 3.3.3, and before version 4.0.1, SVGO accepts XML with custom entities, without guards against entity expansion or recursion. This can result in a small XML file (811 bytes) stalling the application and even crashing the Node.js process with JavaScript heap out of memory. This issue has been patched in versions 2.8.1, 3.3.3, and 4.0.1.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS