# svgo (npm)

SVGO is a Node.js library and command-line application for optimizing vector images.

- Latest: 4.1.0 (2026-08-24)
- Licence: MIT
- Downloads: 222042209 last month
- Advisories on the latest version: 0

- CVE-2026-84369 MODERATE: SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements Fixed in 2.8.4, 3.3.5, 4.1.0.
- CVE-2026-84370 HIGH: SVGO: removeScripts allows executable links through namespace and control-character bypasses Fixed in 2.8.4, 3.3.5, 4.1.0.
- CVE-2026-73650 HIGH: SVGO removeScripts plugin leaves some executable scripts intact Fixed in 2.8.3, 3.3.4, 4.0.2.
- CVE-2026-29074 HIGH: SVGO DoS through entity expansion in DOCTYPE (Billion Laughs) Fixed in 2.8.1, 3.3.3, 4.0.1.

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 4 Dec 2026.
