cve.bz

CVE-2026-84370 svg svgo: Cross-site Scripting

8.2 highEPSS 0.5%Fix available

High (8.2) in svg svgo. EPSS 0.5% estimated probability of exploitation activity in the next 30 days. Fixed in svgo 2.8.4, 3.3.5, 4.1.0.

On this page
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.

Severity

CVSS 3.1

8.2 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
EPSS
0.5% (unchanged from 0.5% a week ago; 0.5% 30 days ago) estimated probability of exploitation activity in the next 30 days; 45th percentile. Scored 2026-11-23. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2026-09-04. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-79 Improper Neutralization of Input During Web Page Generation (Cross-site Scripting)
CWE-184 Incomplete List of Disallowed Inputs
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-84370 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-84370?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-84370?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-84370 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
svgo>= 1.0.0, < 2.8.4
svgo>= 3.0.0, < 3.3.5
svgo>= 4.0.0, < 4.1.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-w27v-7q3p-w38rnpmsvgo>=1.0.0 <2.8.42.8.4
GHSA-w27v-7q3p-w38rnpmsvgo>=3.0.0 <3.3.53.3.5
GHSA-w27v-7q3p-w38rnpmsvgo>=4.0.0 <4.1.04.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian14node-svgo3.3.5+ds-1DEBIAN-CVE-2026-84370
openSUSETumbleweedvelociraptor0.76.7.0.git145.b60ef1146-1.1openSUSE-SU-2026:12070-1

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · openSUSE.

Red Hat

Red Hat rates this Important.

Red Hat's statement

A flaw was found in SVGO's removeScripts plugin (opt-in), which is designed to filter executable links from SVG files. The plugin incompletely handles namespace-prefixed SVG anchor elements (e.g., svg:a) and fails to remove ASCII control characters (tab, line-feed, carriage-return) before validating URL schemes. When an application enables this plugin to process untrusted SVG input and serves the result in a browser context, an attacker can craft a malicious SVG that bypasses the filter. If a victim activates the embedded link, arbitrary script can execute in the SVG's origin, potentially leading to information disclosure, content modification, or unauthorized actions.

Red Hat Product Security has determined that the impact of this flaw is Important. Most Red Hat products that bundle SVGO do not use it for SVG processing or do not enable the removeScripts plugin. The affected products have been identified and are receiving updates.

Red Hat's mitigation

Do not use SVGO's removeScripts plugin as the sole protection mechanism for untrusted SVG input. If processing untrusted SVG files, use a comprehensive SVG sanitization library designed for security purposes, or avoid serving processed SVGs in active browser contexts. For applications currently using the removeScripts plugin, upgrade SVGO to version 2.8.4, 3.3.5, or 4.1.0 (or later) as appropriate for your version series.

ProductPackageStateAdvisory
Cryostat 4cryostat/cryostat-openshift-console-plugin-rhel9Under investigation
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel8Under investigation
OpenShift Pipelinesopenshift-pipelines/pipelines-hub-ui-rhel9Under investigation
OpenShift Service Mesh 3openshift-service-mesh/kiali-operator-bundleUnder investigation
OpenShift Service Mesh 3openshift-service-mesh/kiali-rhel9-operatorUnder investigation
Red Hat 3scale API Management Platform 23scale-amp2/system-rhel8Under investigation
Red Hat AMQ Broker 7amq-broker-bin.zipUnder investigation
Red Hat AMQ Broker 7amq-broker-maven-repository.zipUnder investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-24/lightspeed-rhel8Under investigation
Red Hat Ansible Automation Platform 2ansible-automation-platform-25/lightspeed-rhel8Under investigation
Red Hat Ansible Automation Platform 2automation-controllerUnder investigation
Red Hat Ansible Automation Platform 2automation-eda-controllerUnder investigation
Red Hat Ansible Automation Platform 2automation-gatewayUnder investigation
Red Hat Ansible Automation Platform 2automation-platform-uiUnder investigation
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-for-springboot-maven-repository.zipUnder investigation
Red Hat build of Apache Camel for Spring Boot 4rhaf-camel-spring-boot-maven-repository.zipUnder investigation
Red Hat Build of Podman Desktoprh-podman-desktopUnder investigation
Red Hat Build of Podman Desktoprh-podman-desktop.gitUnder investigation
Red Hat Ceph Storage 4rhceph/rhceph-4-dashboard-rhel8Under investigation
Red Hat Ceph Storage 9rhceph/alloy-rhel10Under investigation
28 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-84370.

Attack patterns (CAPEC)

  • CAPEC-63 Cross-Site Scripting (XSS) Likelihood: High · Severity: Very High
  • CAPEC-85 AJAX Footprinting Likelihood: High · Severity: Low
  • CAPEC-209 XSS Using MIME Type Mismatch Severity: Medium
  • CAPEC-588 DOM-Based XSS Likelihood: High · Severity: Very High
  • CAPEC-591 Reflected XSS Likelihood: High · Severity: Very High
  • CAPEC-592 Stored XSS Likelihood: High · Severity: Very High
  • CAPEC-3 Using Leading 'Ghost' Character Sequences to Bypass Input Filters Likelihood: Medium · Severity: Medium
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-184.

References

Check your stackJSON