Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2023-40013

17
FAUCET Score

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.

Impacted Technologies

VendorProductVersion(s)CPE
< 1.6.9CPE matchmatch criteria
cpe:2.3:a:shubhamjain:svg_loader:*:*:*:*:*:node.js:*:*

CVSS Data

CVSS version used by this source: 3.1

7.1HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Attack Vector
NETWORK
Attack Complexity
HIGH
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality Impact
HIGH
Integrity Impact
HIGH
Availability Impact
LOW
Exploitability Score
1.6
Impact Score
5.5
CvssVersion
3.1

Exploit Intelligence

EPSS Score
0.47%
Probability of exploitation in next 30 days
EPSS Percentile
38.2%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0047 is in the 58th percentile among its peer group of 15,239 CVEs.

Social Chatter

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.

Media 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.

Remediation

Patch Available

Vendor Patches (2)

github_advisorypatch availablevia nvd_reference
View patch
npmpatch availablevia ghsa
Product: external-svg-loaderFixed in: 1.6.9

Vendor Advisories (1)

npmGHSA-xc2r-jf2x-gjr8critical

external-svg-loader Cross-site Scripting vulnerability

Aug 14, 2023

References

github.com / shubhamjain/svg-loader/blob/main/svg-loader.js
Product
github.com / shubhamjain/svg-loader/commit/d3562fc08497aec5f33eb82017fa1417b3319e2c
Patch
github.com / shubhamjain/svg-loader/security/advisories/GHSA-xc2r-jf2x-gjr8
Vendor Advisory
github.com / shubhamjain/svg-loader/tree/main
Product