Read the docs
TI-2026-57981 Aliases CVE-2026-84370GHSA-w27v-7q3p-w38r

SVGO: removeScripts allows executable links through namespace and control-character bypasses

Priority LOW 36CWE-184Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Partial Red Hat: 26 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.4, 3.3.5, and 4.1.0, the opt-in removeScripts plugin, named removeScriptElement in versions 2 and 3, incompletely filters executable links in plugins/removeScripts.js and lib/svgo/tools.js. The plugin does not recognize namespace-prefixed SVG anchor elements such as svg:a with href or namespaced *:href values, and it does not remove ASCII tab, line-feed, or carriage-return characters before checking URL schemes. Browsers remove those characters before parsing a scheme, allowing an executable link to pass the plugin's check. When an application processes attacker-controlled SVG input and serves the result in an active browser context, a victim who activates the surviving link can execute script in the SVG's origin, expose data, modify content, or perform actions as the victim. This issue is fixed in versions 2.8.4, 3.3.5, and 4.1.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00525 44th percentileScored 2026-11-07
Fix Partial svgo (svg): 2.8.4, 3.3.5, 4.1.0svgo (npm): 2.8.4, 3.3.5, 4.1.0Red Hat: 26 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
svgsvgo1.0.0 to before 2.8.4; 3.0.0 to before 3.3.5; 4.0.0 to before 4.1.02.8.4, 3.3.5, 4.1.0Patch availableCNA
—svgo (npm)1.0.0 to before 2.8.42.8.4Patch availableGHSA-w27v-7q3p-w38r
—svgo (npm)3.0.0 to before 3.3.53.3.5Patch availableGHSA-w27v-7q3p-w38r
—svgo (npm)4.0.0 to before 4.1.04.1.0Patch availableGHSA-w27v-7q3p-w38r
  • svgo Vendorsvg Affected 1.0.0 to before 2.8.4; 3.0.0 to before 3.3.5; 4.0.0 to before 4.1.0 Fixed in 2.8.4, 3.3.5, 4.1.0 Patch available CNA
  • svgo (npm) Vendor— Affected 1.0.0 to before 2.8.4 Fixed in 2.8.4 Patch available GHSA-w27v-7q3p-w38r
  • svgo (npm) Vendor— Affected 3.0.0 to before 3.3.5 Fixed in 3.3.5 Patch available GHSA-w27v-7q3p-w38r
  • svgo (npm) Vendor— Affected 4.0.0 to before 4.1.0 Fixed in 4.1.0 Patch available GHSA-w27v-7q3p-w38r

Remediation

  • Fix · CNA svgo (svg) Fixed in 2.8.4, 3.3.5, 4.1.0
  • Fix · GHSA-w27v-7q3p-w38r svgo (npm) Fixed in 2.8.4 Advisory →
  • Fix · GHSA-w27v-7q3p-w38r svgo (npm) Fixed in 3.3.5 Advisory →
  • Fix · GHSA-w27v-7q3p-w38r svgo (npm) Fixed in 4.1.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Important. Red Hat's page for this CVE →

ProductStatusPlan or fix
Cryostat 4Affected—
OpenShift PipelinesAffected—
OpenShift Service Mesh 3Affected—
Red Hat 3scale API Management Platform 2Affected—
Red Hat AMQ Broker 7Affected—
Red Hat Ansible Automation Platform 2Affected—
Red Hat Build of Podman DesktopAffected—
Red Hat Ceph Storage 4Affected—
Red Hat Ceph Storage 9Affected—
Red Hat Certification Program for Red Hat Enterprise Linux 9Affected—
Red Hat Data Grid 8Affected—
Red Hat Developer Hub 1Affected—
Red Hat Discovery 2Affected—
Red Hat Enterprise Linux 10Affected—
Red Hat Enterprise Linux 7Affected—
Red Hat Enterprise Linux 8Affected—
Red Hat Enterprise Linux 9Affected—
Red Hat Enterprise Linux AI (RHEL AI) 3Affected—
Red Hat Fuse 7Affected—
Red Hat Hardened ImagesAffected—
Red Hat OpenShift AI (RHOAI)Affected—
Red Hat OpenShift Dev SpacesAffected—
Red Hat Quay 3Affected—
Red Hat Single Sign-On 7Affected—
Red Hat build of Apache Camel for Spring Boot 4Affected—
Self-service automation portal 2Affected—

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-84370
  2. 2026-10-03 Alias added: GHSA-w27v-7q3p-w38r
  3. 2026-10-06 Affected versions changed · Red Hat
  4. 2026-10-06 CVSS score added · Red Hat
  5. 2026-10-27 Affected versions changed · Red Hat

References

  • TI-2026-51734 SVGO: removeScripts plugin leaves some executable scripts intact CVSS 3.1HIGH 8.2
  • TI-2026-57980 SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements CVSS 3.1MEDIUM 6.1

Sources