CVE-2026-84369

Source
https://cve.org/CVERecord?id=CVE-2026-84369
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84369.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-84369
Aliases
  • GHSA-4vpr-x523-8j87
Published
2026-09-01T20:43:52.013Z
Modified
2026-09-03T03:48:17.366906599Z
Severity
  • 6.1 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84369.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-79"
    ]
}
References

Affected packages

Git / github.com/svg/svgo

Affected ranges

Type
GIT
Repo
https://github.com/svg/svgo
Events
Database specific
Show details
{
    "source": [
        "AFFECTED_FIELD",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "1.0.0"
        },
        {
            "fixed": "2.8.4"
        },
        {
            "introduced": "3.0.0"
        },
        {
            "fixed": "3.3.5"
        },
        {
            "introduced": "4.0.0"
        },
        {
            "fixed": "4.1.0"
        }
    ]
}

Affected versions

1.*
1.2.0
v1.*
v1.0.0
v1.0.1
v1.0.2
v1.0.3
v1.0.4
v1.0.5
v1.1.0
v1.2.0
v1.2.1
v1.2.2
v1.3.0
v1.3.1
v1.3.2
v2.*
v2.0.0
v2.0.1
v2.0.2
v2.0.3
v2.1.0
v2.2.0
v2.2.1
v2.2.2
v2.3.0
v2.3.1
v2.4.0
v2.5.0
v2.6.0
v2.6.1
v2.7.0
v2.8.0
v2.8.1
v2.8.2
v2.8.3
v3.*
v3.0.0
v3.0.1
v3.0.2
v3.0.3
v3.0.4
v3.0.5
v3.1.0
v3.2.0
v3.3.2
v3.3.3
v3.3.4
v4.*
v4.0.0
v4.0.1
v4.0.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-84369.json"