CVEfocus › CVE database › CVE-2026-84370

CVE-2026-84370SVGO: removeScripts allows executable links through namespace and control-character…

CVSS 8.2 HighEPSS 0.5% (higher than 38% of CVEs)Published 2026-09-01Updated 2026-09-04Assigner: GitHub_M

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.

CWE-184CWE-79

What to do

Fixed builds are available from Debian, npm: see the table below for the fixed version per release.

Red Hat has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

2Fixed
38Under investigation

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Debian 14node-svgoFixed3.3.5+ds-1DEBIAN-CVE-2026-84370
Red Hat Enterprise Linux 10grafanaUnder investigation
Red Hat Enterprise Linux 10grafana-pcpUnder investigation
Red Hat Enterprise Linux 10grafana-selinuxUnder investigation
Red Hat Enterprise Linux 9grafanaUnder investigation
Red Hat Enterprise Linux 9grafana-pcpUnder investigation
Red Hat Enterprise Linux 9grafana-selinuxUnder investigation
Red Hat Enterprise Linux 9pcsUnder investigation
Red Hat Enterprise Linux 9pcs-snmpUnder investigation
Red Hat Enterprise Linux 8grafanaUnder investigation
Red Hat Enterprise Linux 8grafana-azure-monitorUnder investigation
Red Hat Enterprise Linux 8grafana-cloudwatchUnder investigation
Red Hat Enterprise Linux 8grafana-elasticsearchUnder investigation
Red Hat Enterprise Linux 8grafana-graphiteUnder investigation
Red Hat Enterprise Linux 8grafana-influxdbUnder investigation
Red Hat Enterprise Linux 8grafana-lokiUnder investigation
Red Hat Enterprise Linux 8grafana-mssqlUnder investigation
Red Hat Enterprise Linux 8grafana-mysqlUnder investigation
Red Hat Enterprise Linux 8grafana-opentsdbUnder investigation
Red Hat Enterprise Linux 8grafana-pcpUnder investigation
Red Hat Enterprise Linux 8grafana-postgresUnder investigation
Red Hat Enterprise Linux 8grafana-prometheusUnder investigation
Red Hat Enterprise Linux 8grafana-selinuxUnder investigation
Red Hat Enterprise Linux 8grafana-stackdriverUnder investigation
Red Hat Enterprise Linux 8mozjs60Under investigation
Red Hat Enterprise Linux 8mozjs60-develUnder investigation
Red Hat Enterprise Linux 8pcsUnder investigation
Red Hat Enterprise Linux 8pcs-snmpUnder investigation
Red Hat Enterprise Linux 7python-syspurposeUnder investigation
Red Hat Enterprise Linux 7rhsm-gtkUnder investigation
Red Hat Enterprise Linux 7subscription-managerUnder investigation
Red Hat Enterprise Linux 7subscription-manager-cockpitUnder investigation
Red Hat Enterprise Linux 7subscription-manager-guiUnder investigation
Red Hat Enterprise Linux 7subscription-manager-initial-setup-addonUnder investigation
Red Hat Enterprise Linux 7subscription-manager-migrationUnder investigation
Red Hat Enterprise Linux 7subscription-manager-plugin-containerUnder investigation
Red Hat Enterprise Linux 7subscription-manager-plugin-ostreeUnder investigation
Red Hat Enterprise Linux 7subscription-manager-rhsmUnder investigation
Red Hat Enterprise Linux 7subscription-manager-rhsm-certificatesUnder investigation
npm librarysvgoFixed4.1.0GHSA-w27v-7q3p-w38r

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.