Live threats

All CVEs / Svgo

CVE-2026-29074Svgo

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
—
Auth required
No
Published
Mar 6, 2026
Updated
Sep 10, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-776
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Svgo.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm svgo ≥ 2.1.0 < 2.8.1 2.8.1 npm install svgo@2.8.1
npm svgo ≥ 3.0.0 < 3.3.3 3.3.3 npm install svgo@3.3.3
npm svgo ≥ 4.0.0 < 4.0.1 4.0.1 npm install svgo@4.0.1

Per OSV / GitHub Advisories (GHSA-xpqw-6gx7-v673). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
svgosvgo≥ 2.1.0 < 2.8.1
svgosvgo≥ 3.0.0 < 3.3.3
svgosvgo≥ 4.0.0 < 4.0.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.