Live threats

All CVEs / svg

CVE-2026-73650svgo

High 8.2 No auth needed

Priority
64
CVSS 3.1
8.2
EPSS
—
Auth required
No
Published
Aug 13, 2026
Updated
Sep 18, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-184
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

What happens

SVGO, short for SVG Optimizer, is a Node.js library and command-line application for optimizing SVG files. From version 1.0.0 until versions 2.8.3, 3.3.4, and 4.0.2, the removeScripts plugin, named removeScriptElement in versions 1 through 3, can leave executable content in optimized SVGs because it does not remove namespaced or prefixed script elements such as <svg:script> and, in versions 3 and 4, matches JavaScript URIs case sensitively. Applications that process untrusted SVG input with this plugin enabled and serve the result can allow scripts to execute when another user opens the SVG, exposing local storage or cookies. This issue is fixed in versions 2.8.3, 3.3.4, and 4.0.2.

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 ≥ 1.0.0 < 2.8.3 2.8.3 npm install svgo@2.8.3
npm svgo ≥ 3.0.0 < 3.3.4 3.3.4 npm install svgo@3.3.4
npm svgo ≥ 4.0.0 < 4.0.2 4.0.2 npm install svgo@4.0.2

Per OSV / GitHub Advisories (GHSA-2p49-hgcm-8545). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

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.