CVE-2026-73650
Published:August 13, 2026
Updated:September 05, 2026
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" (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.
Affected Packages
https://github.com/svg/svgo.git (GITHUB):
Affected version(s) >=v4.0.0 <v4.0.2Fix Suggestion:
Update to version v4.0.2https://github.com/svg/svgo.git (GITHUB):
Affected version(s) >=v3.0.0 <v3.3.4Fix Suggestion:
Update to version v3.3.4svgo (NPM):
Affected version(s) >=1.0.0 <2.8.3Fix Suggestion:
Update to version 2.8.3svgo (NPM):
Affected version(s) >=4.0.0 <4.0.2Fix Suggestion:
Update to version 4.0.2svgo (NPM):
Affected version(s) >=3.0.0 <3.3.4Fix Suggestion:
Update to version 3.3.4Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (10)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.4
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
NONE
Subsequent System Confidentiality
HIGH
Subsequent System Integrity
LOW
Subsequent System Availability
NONE
CVSS v3
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
NONE
Weakness Type (CWE)
EPSS
Base Score:
0.24