CVE-2026-84369 SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements
- 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 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.
Upgrade path
4 packages: 2 fixed, 1 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux python-pydata-sphinx-theme(Azure Linux 4.0) | All versions | No fix listed | No fix yet |
| 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
| Product | Affected versions | Fixed 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/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 |
| 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 |
Show 30 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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 |
| azure linux python-pydata-sphinx-theme(Azure Linux:4.0) | All versions | No fix listed |
References
- https://github.com/svg/svgo/security/advisories/GHSA-4vpr-x523-8j87 vendor-advisory
- https://github.com/svg/svgo/pull/2264 patch
- https://github.com/svg/svgo/pull/2269 patch
- https://github.com/svg/svgo/pull/2272 patch
- https://github.com/svg/svgo/commit/0557385564a5c6c11d76cd934a6cff94451e532c patch
- https://github.com/svg/svgo/commit/994a9f00d79ddec68ce19a1ce9eb8ca08d747e4f patch
- https://github.com/svg/svgo/commit/fd51e474a300417d9361d9302d596b1763146327 patch
- https://github.com/svg/svgo/releases/tag/v2.8.4
- https://github.com/svg/svgo/releases/tag/v3.3.5
- https://github.com/svg/svgo/releases/tag/v4.1.0
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2527089 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- Debian Security Tracker CVE-2026-84369 vendor-advisory
- bugs.debian.org issue-tracking
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- github.com product
- ENISA EUVD EUVD-2026-69651 third-party-advisory