Bug 2527093 (CVE-2026-84370)

Summary: CVE-2026-84370 svgo: SVGO: Arbitrary script execution via incomplete executable link filtering
Product: [Other] Security Response Reporter: OSIDB Bzimport <bzimport>
Component: vulnerabilityAssignee: Product Security DevOps Team <prodsec-dev>
Status: NEW --- QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: unspecifiedCC: aazores, abarbaro, akostadi, alizardo, amasferr, amctagga, aoconnor, aschwart, aszczucz, ataylor, bbrownin, bniver, boliveir, brasmith, cdrage, cmah, cochase, csuconic, dbruscin, dmayorov, doconnor, dranck, drichtar, dschmidt, eaguilar, ebaron, ehugonne, flucifre, fmariani, gmalinko, gmeno, groman, gtully, janstey, jchui, jhe, jlanda, jlledo, jmatsuok, jsherman, jtolenti, jwong, jwon, kaycoth, kshier, ktsao, kvanderr, lchilton, mbenjamin, mcarlett, mhackett, mposolda, nboldt, oaljalju, omaciel, pantinor, pdelbell, pjindal, psrna, rbobbitt, rgemmell, rgodfrey, rhel-process-autobot, rmartinc, rstepani, rushinde, sdawley, sfeifer, simaishi, sostapov, ssilvert, stcannon, sthorger, tbish, tcunning, tlavocat, tsedmik, vereddy, vmuzikar, watson-tool-maintainers, yfang, yguenane
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
A flaw was found in SVGO (SVG Optimizer), a Node.js library for optimizing SVG files. The `removeScripts` plugin, intended to filter executable links, incompletely processes namespace-prefixed SVG anchor elements and fails to remove ASCII control characters before validating URL schemes. A remote attacker could craft a malicious SVG file that, when processed by an application and served in a browser, allows for arbitrary script execution in the SVG's origin if a victim activates the embedded link. This could lead to information disclosure, content modification, or unauthorized actions performed as the victim.
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description OSIDB Bzimport 2026-09-01 21:02:03 UTC
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.