CVE-2023-40013 is a Cross-site Scripting (XSS) vulnerability affecting the shubhamjain svg_loader JavaScript library. The library's SVG sanitization logic is insufficient, allowing attackers to embed malicious JavaScript within SVG files that bypass security checks. This medium-severity vulnerability (CVSS 5.4) can be exploited by an attacker with low privileges who can trick a user into interacting with a crafted SVG, potentially leading to client-side code execution and data compromise. There is currently no evidence of active exploitation, no public exploit code (Metasploit, Nuclei, ExploitDB), and minimal community discussion or media coverage. Users are advised to upgrade to svg_loader version 1.6.9 or later to mitigate this risk.
| Vendor | Product | Version(s) | CPE |
|---|---|---|---|
< 1.6.9CPE matchmatch criteria | cpe:2.3:a:shubhamjain:svg_loader:*:*:*:*:*:node.js:*:* |
CVSS version used by this source: 3.1
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L
The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.0 Bluesky, 0.0 Mastodon, and 0.1 GitHub mentions.
No media coverage found for this CVE.
The average CVE in this peer group has 0.0 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.