Skip to content

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

HighCVSS 8.2 EPSS 0.53%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
DebianRed Hat

Description

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
debian/node-svgo(Debian 14) < 3.3.5+ds-1; = 3.3.2+ds-1 3.3.5+ds-1 Fixed
npm svgo(npm) >= 1.0.0, < 2.8.4; >= 3.0.0, < 3.3.5; >= 4.0.0, < 4.1.0 2.8.4, 3.3.5, 4.1.0 Fixed
svgo = >= 1.0.0, < 2.8.4; = >= 3.0.0, < 3.3.5; = >= 4.0.0, < 4.1.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
svgo = >= 1.0.0, < 2.8.4 No fix listed
svgo = >= 3.0.0, < 3.3.5 No fix listed
svgo = >= 4.0.0, < 4.1.0 No fix listed
redhat/cryostat/cryostat-openshift-console-plugin-rhel9(Red Hat:cryostat:4) All versions No fix listed
redhat/openshift-pipelines/pipelines-hub-ui-rhel8(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/openshift-pipelines/pipelines-hub-ui-rhel9(Red Hat:openshift_pipelines:1) All versions No fix listed
redhat/openshift-service-mesh/kiali-operator-bundle(Red Hat:service_mesh:3) All versions No fix listed
redhat/openshift-service-mesh/kiali-rhel9-operator(Red Hat:service_mesh:3) All versions No fix listed
redhat/3scale-amp2/system-rhel8(Red Hat:3scale:2.13) All versions No fix listed
redhat/amq-broker-bin.zip(Red Hat:amq_broker:7) All versions No fix listed
redhat/amq-broker-maven-repository.zip(Red Hat:amq_broker:7) All versions No fix listed
redhat/ansible-automation-platform-24/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-25/lightspeed-rhel8(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/automation-controller(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/automation-eda-controller(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/automation-gateway(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/automation-platform-ui(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/rhaf-camel-for-springboot-maven-repository.zip(Red Hat:camel_spring_boot:4) All versions No fix listed
redhat/rhaf-camel-spring-boot-maven-repository.zip(Red Hat:camel_spring_boot:4) All versions No fix listed
redhat/rh-podman-desktop(Red Hat:podman_desktop:1) All versions No fix listed
redhat/rh-podman-desktop.git(Red Hat:podman_desktop:1) All versions No fix listed
redhat/rhceph/rhceph-4-dashboard-rhel8(Red Hat:ceph_storage:4) All versions No fix listed
redhat/rhceph/alloy-rhel10(Red Hat:ceph_storage:9) All versions No fix listed
redhat/redhat-certification-cnf(Red Hat:certifications:9) All versions No fix listed
redhat/redhat-datagrid-maven-repository.zip(Red Hat:jboss_data_grid:8) All versions No fix listed
Show 31 more
ProductAffected versionsFixed in
redhat/rhdh/rhdh-hub-rhel9(Red Hat:rhdh:1) All versions No fix listed
redhat/discovery/discovery-ui-rhel9(Red Hat:discovery:2::el8) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/grafana-pcp(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/subscription-manager(Red Hat:rhel_els:7) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/grafana-pcp(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/mozjs60(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/pcs(Red Hat:enterprise_linux:8) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/grafana-pcp(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/pcs(Red Hat:enterprise_linux:9) All versions No fix listed
redhat/rhelai3/bootc-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-gaudi-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/bootc-rocm-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/rhelai3/disk-image-cuda-rhel9(Red Hat:enterprise_linux_ai:3) All versions No fix listed
redhat/svgo(Red Hat:jboss_fuse:7) All versions No fix listed
redhat/grafana12.4(Red Hat:hummingbird:1) All versions No fix listed
redhat/grafana13.1(Red Hat:hummingbird:1) All versions No fix listed
redhat/grafana13.2(Red Hat:hummingbird:1) All versions No fix listed
redhat/prometheus3.13(Red Hat:hummingbird:1) All versions No fix listed
redhat/rhoai/odh-feature-server-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/devspaces/dashboard-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
redhat/quay/quay-rhel8(Red Hat:quay:3) All versions No fix listed
redhat/rh-sso-server-dist.zip(Red Hat:red_hat_single_sign_on:7) All versions No fix listed
redhat/ansible-automation-platform/automation-portal(Red Hat:ansible_portal:2) All versions No fix listed
npm svgo(npm) >= 1.0.0, < 2.8.4 2.8.4
npm svgo(npm) >= 3.0.0, < 3.3.5 3.3.5
npm svgo(npm) >= 4.0.0, < 4.1.0 4.1.0
debian/node-svgo(Debian:14) < 3.3.5+ds-1 3.3.5+ds-1
debian/node-svgo(Debian:14) = 3.3.2+ds-1 No fix listed

References