svgo

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

4.1.0Latest, 24 Aug 2026
222MDownloads, last month
0Advisories on the latest
4Advisories, all versions
MITLicence
23KStars
6.7/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
Moderate SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements CVE-2026-84369 Fixed in 2.8.4, 3.3.5, 4.1.0 8 Sep 2026
High SVGO: removeScripts allows executable links through namespace and control-character bypasses CVE-2026-84370 Fixed in 2.8.4, 3.3.5, 4.1.0 8 Sep 2026
High SVGO removeScripts plugin leaves some executable scripts intact CVE-2026-73650 Fixed in 2.8.3, 3.3.4, 4.0.2 21 Jul 2026
High SVGO DoS through entity expansion in DOCTYPE (Billion Laughs) CVE-2026-29074 Fixed in 2.8.1, 3.3.3, 4.0.1 4 Mar 2026

On Hacker News

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