CVE-2026-84369 (GCVE-0-2026-84369)
Vulnerability from cvelistv5 – Published: 2026-09-01 20:43 – Updated: 2026-09-01 20:43
VLAI
EPSS
VEX
Title
SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements
Summary
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.
Severity
6.1 (Medium)
CWE
- CWE-79 - Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Assigner
References
10 references
| URL | Tags |
|---|---|
| https://github.com/svg/svgo/security/advisories/G… | x_refsource_CONFIRM |
| https://github.com/svg/svgo/pull/2264 | x_refsource_MISC |
| https://github.com/svg/svgo/pull/2269 | x_refsource_MISC |
| https://github.com/svg/svgo/pull/2272 | x_refsource_MISC |
| https://github.com/svg/svgo/commit/0557385564a5c6… | x_refsource_MISC |
| https://github.com/svg/svgo/commit/994a9f00d79dde… | x_refsource_MISC |
| https://github.com/svg/svgo/commit/fd51e474a30041… | x_refsource_MISC |
| https://github.com/svg/svgo/releases/tag/v2.8.4 | x_refsource_MISC |
| https://github.com/svg/svgo/releases/tag/v3.3.5 | x_refsource_MISC |
| https://github.com/svg/svgo/releases/tag/v4.1.0 | x_refsource_MISC |
Impacted products
{
"containers": {
"cna": {
"affected": [
{
"product": "svgo",
"vendor": "svg",
"versions": [
{
"status": "affected",
"version": "\u003e= 1.0.0, \u003c 2.8.4"
},
{
"status": "affected",
"version": "\u003e= 3.0.0, \u003c 3.3.5"
},
{
"status": "affected",
"version": "\u003e= 4.0.0, \u003c 4.1.0"
}
]
}
],
"descriptions": [
{
"lang": "en",
"value": "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\u0027s 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."
}
],
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "NONE",
"baseScore": 6.1,
"baseSeverity": "MEDIUM",
"confidentialityImpact": "LOW",
"integrityImpact": "LOW",
"privilegesRequired": "NONE",
"scope": "CHANGED",
"userInteraction": "REQUIRED",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N",
"version": "3.1"
}
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-79",
"description": "CWE-79: Improper Neutralization of Input During Web Page Generation (\u0027Cross-site Scripting\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-09-01T20:43:52.013Z",
"orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"shortName": "GitHub_M"
},
"references": [
{
"name": "https://github.com/svg/svgo/security/advisories/GHSA-4vpr-x523-8j87",
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/svg/svgo/security/advisories/GHSA-4vpr-x523-8j87"
},
{
"name": "https://github.com/svg/svgo/pull/2264",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/pull/2264"
},
{
"name": "https://github.com/svg/svgo/pull/2269",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/pull/2269"
},
{
"name": "https://github.com/svg/svgo/pull/2272",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/pull/2272"
},
{
"name": "https://github.com/svg/svgo/commit/0557385564a5c6c11d76cd934a6cff94451e532c",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/commit/0557385564a5c6c11d76cd934a6cff94451e532c"
},
{
"name": "https://github.com/svg/svgo/commit/994a9f00d79ddec68ce19a1ce9eb8ca08d747e4f",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/commit/994a9f00d79ddec68ce19a1ce9eb8ca08d747e4f"
},
{
"name": "https://github.com/svg/svgo/commit/fd51e474a300417d9361d9302d596b1763146327",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/commit/fd51e474a300417d9361d9302d596b1763146327"
},
{
"name": "https://github.com/svg/svgo/releases/tag/v2.8.4",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/releases/tag/v2.8.4"
},
{
"name": "https://github.com/svg/svgo/releases/tag/v3.3.5",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/releases/tag/v3.3.5"
},
{
"name": "https://github.com/svg/svgo/releases/tag/v4.1.0",
"tags": [
"x_refsource_MISC"
],
"url": "https://github.com/svg/svgo/releases/tag/v4.1.0"
}
],
"source": {
"advisory": "GHSA-4vpr-x523-8j87",
"discovery": "UNKNOWN"
},
"title": "SVGO: removeScripts incompletely sanitizes executable HTML in SVG foreignObject elements"
}
},
"cveMetadata": {
"assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
"assignerShortName": "GitHub_M",
"cveId": "CVE-2026-84369",
"datePublished": "2026-09-01T20:43:52.013Z",
"dateReserved": "2026-09-01T16:27:58.129Z",
"dateUpdated": "2026-09-01T20:43:52.013Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2026-84369",
"date": "2026-09-02",
"epss": "0.00279",
"percentile": "0.19981"
},
"nvd": "{\"cve\":{\"id\":\"CVE-2026-84369\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-09-01T21:18:48.037\",\"lastModified\":\"2026-09-02T16:17:28.580\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"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\u0027s 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.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"svg\",\"product\":\"svgo\",\"versions\":[{\"version\":\"\u003e= 1.0.0, \u003c 2.8.4\",\"status\":\"affected\"},{\"version\":\"\u003e= 3.0.0, \u003c 3.3.5\",\"status\":\"affected\"},{\"version\":\"\u003e= 4.0.0, \u003c 4.1.0\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N\",\"baseScore\":6.1,\"baseSeverity\":\"MEDIUM\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"REQUIRED\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"LOW\",\"integrityImpact\":\"LOW\",\"availabilityImpact\":\"NONE\"},\"exploitabilityScore\":2.8,\"impactScore\":2.7}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-09-02T15:46:08.313290Z\",\"id\":\"CVE-2026-84369\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"partial\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-79\"}]}],\"references\":[{\"url\":\"https://github.com/svg/svgo/commit/0557385564a5c6c11d76cd934a6cff94451e532c\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/commit/994a9f00d79ddec68ce19a1ce9eb8ca08d747e4f\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/commit/fd51e474a300417d9361d9302d596b1763146327\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/pull/2264\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/pull/2269\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/pull/2272\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/releases/tag/v2.8.4\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/releases/tag/v3.3.5\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/releases/tag/v4.1.0\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/svg/svgo/security/advisories/GHSA-4vpr-x523-8j87\",\"source\":\"security-advisories@github.com\"}]}}"
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Loading…
Loading…