Read the docs
TI-2026-57980 Aliases CVE-2026-84369GHSA-4vpr-x523-8j87

SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements

Priority LOW 28CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Partial Red Hat: 25 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 and implemented in plugins/removeScripts.js, removes SVG and XHTML script elements but does not inspect executable HTML content inside SVG foreignObject elements. Event-handler attributes such as onload and onbeforetoggle, srcdoc documents, and executable URLs in the action, data, formaction, href, and src attributes can remain in attacker-controlled SVG input. When an application uses the plugin as its only protection and serves the optimized SVG in an active browser context, the payload can execute script in the viewer'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.0043 37th 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: 25 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-4vpr-x523-8j87
—svgo (npm)3.0.0 to before 3.3.53.3.5Patch availableGHSA-4vpr-x523-8j87
—svgo (npm)4.0.0 to before 4.1.04.1.0Patch availableGHSA-4vpr-x523-8j87
  • 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-4vpr-x523-8j87
  • svgo (npm) Vendor— Affected 3.0.0 to before 3.3.5 Fixed in 3.3.5 Patch available GHSA-4vpr-x523-8j87
  • svgo (npm) Vendor— Affected 4.0.0 to before 4.1.0 Fixed in 4.1.0 Patch available GHSA-4vpr-x523-8j87

Remediation

  • Fix · CNA svgo (svg) Fixed in 2.8.4, 3.3.5, 4.1.0
  • Fix · GHSA-4vpr-x523-8j87 svgo (npm) Fixed in 2.8.4 Advisory →
  • Fix · GHSA-4vpr-x523-8j87 svgo (npm) Fixed in 3.3.5 Advisory →
  • Fix · GHSA-4vpr-x523-8j87 svgo (npm) Fixed in 4.1.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. 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 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-84369
  2. 2026-10-03 Alias added: GHSA-4vpr-x523-8j87
  3. 2026-10-16 Affected versions changed · Red Hat
  4. 2026-10-16 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-57981 SVGO: removeScripts allows executable links through namespace and control-character bypasses CVSS 3.1HIGH 8.2

Sources