Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

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

Quick assessment

Affected
svg svgo
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

SVGO(SVG Optimizer,SVG 优化器)是一个用于优化 SVG 文件的 Node.js 库和命令行应用。在 1.0.0 至 2.8.4、3.3.5 和 4.1.0 之前的版本中,opt-in 的 removeScripts 插件(在版本 2 和 3 中名为 removeScriptElement)在 和 中对可执行链接的过滤不完整。 具体而言: 该插件未能识别带有命名空间前缀的 SVG 锚点元素(例如 且其 或命名空间形式 带有值); 在检查 URL 协议前,该插件未去除 URL 中的 ASCII 制

CVSS 8.2 · High
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-84370

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
SVGO: removeScripts allows executable links through namespace and control-character bypasses
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
svg svgo >= 1.0.0, < 2.8.4 -

II. Public POCs for CVE-2026-84370

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-84370

登录查看更多情报信息。

Other References for CVE-2026-84370 (10)

IV. Related Vulnerabilities

V. Comments for CVE-2026-84370

No comments yet


Leave a comment