Skip to main content

svg.js EUVDEUVD-2026-43715

| CVE-2026-15697 LOW
Improperly Controlled Modification of Object Prototype Attributes (Prototype Pollution) (CWE-1321)
2026-07-14 VulDB GHSA-qf73-72gv-hc6j
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege application access
  2. Delivery
    Craft prototype-polluting event binding payload
  3. Exploit
    Submit payload to svg.js EventTarget.on
  4. Execution
    Object.prototype injected with attacker-controlled property
  5. Persist
    Consuming application reads polluted property
  6. Impact
    Logic or access control bypass achieved

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V3 - Web Frontend Security Prototype pollution prevention
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires attacker-controlled input to reach the EventTarget.on function of svg.js. In Node.js server-side contexts, this is achievable if the application exposes an API endpoint or WebSocket handler that passes user-supplied event names or configuration objects to svg.js internals without prior sanitization. The CVSS 4.0 PR:L metric confirms that unauthenticated exploitation is not supported - some form of application-level authenticated or session-based access is required. In browser-only deployments, exploitation is constrained to same-origin script execution, significantly limiting external attacker reach. The downstream impact is further limited in applications that use Object.create(null) for configuration objects (no prototype chain), apply hasOwnProperty checks instead of in-operator lookups, or run under strict object freezing policies. Versions above 3.2.5 are not confirmed affected, but no fixed version exists to upgrade to at time of analysis.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:L/UI:N) indicates network-reachable exploitation with low complexity and no attack requirements, requiring only low-privilege access - not unauthenticated. Impact is assessed at VC:L/VI:L/VA:L with no subsequent-system impact (SC:N/SI:N/SA:N), reflecting moderate bounded harm in the vulnerable system. The E:P flag confirms proof-of-concept code exists, making this practically exploitable rather than theoretical. However, the vulnerability is NOT listed in CISA KEV and no EPSS score was provided, limiting probabilistic assessment. Real-world severity is highly context-dependent: prototype pollution in a browser-only SVG library is largely self-contained, while server-side Node.js usage exposes a much higher blast radius. The most critical limiting factor is that PR:L is required, meaning unauthenticated external attackers must first obtain some application-level access or interaction surface. No official patch timeline exists, compounding residual risk for organizations unable to implement compensating controls.

Exploit ScenarioDerived

An attacker with low-privilege access to an application using svg.js on the server side crafts an event binding payload where the event name or handler configuration object contains a prototype-polluting key such as __proto__[isAdmin] = true, submitting it through an application API that passes the value to EventTarget.on. The svg.js function processes the input without sanitization, injecting the property into Object.prototype. Subsequent application code that checks a plain object for isAdmin - such as a middleware access control check - reads the attacker-injected value from the prototype chain, granting elevated access. A proof-of-concept exists (E:P), making this accessible to moderately skilled attackers.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
No patch listed yet 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 14, 2026

Prototype pollution in svg.js (svgdotjs) up to version 3.2.5 allows a remote low-privileged attacker to inject arbitrary properties into JavaScript's shared Object.prototype via the EventTarget.on function of the npm package API. Depending on how consuming applications perform property lookups, this can lead to information disclosure, logic bypass, or integrity violations across the entire JavaScript runtime. No vendor patch exists - the maintainer has not responded to the responsible disclosure - and a proof-of-concept exists (CVSS E:P), though no confirmed active exploitation appears in CISA KEV.

RemediationAI

No vendor-released patch has been identified at the time of analysis - the project maintainer was notified via GitHub issue (https://github.com/svgdotjs/svg.js/issues/1343) but has not yet responded. As a primary compensating control, applications should sanitize all user-supplied data before passing it to EventTarget.on, explicitly rejecting or filtering keys matching __proto__, constructor, and prototype prior to any event binding call. For Node.js server-side deployments, consider freezing the prototype at startup with Object.freeze(Object.prototype), though this may conflict with other libraries that rely on prototype extension and should be tested thoroughly before production use. An alternative is replacing direct svg.js event binding with a custom wrapper that performs key validation before delegating to the library. Monitor the GitHub repository (https://github.com/svgdotjs/svg.js/) for a patched release and prioritize upgrading immediately once one is published.

Affected VersionsENISA

svg.js 3.2.4
svg.js 3.2.2
svg.js 3.2.5
svg.js 3.2.0
svg.js 3.2.3
svg.js 3.2.1

Affected Packages

euvd svg_js no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

svg.js is a widely-used JavaScript/Node.js library for creating and manipulating SVG graphics, distributed via npm as @svgdotjs/svg.js. The affected component is the EventTarget.on method, which binds event listeners to SVG elements. CWE-1321 (Improperly Controlled Modification of Object Prototype Attributes) describes prototype pollution: attacker-controlled keys such as __proto__, constructor, or prototype are merged or assigned into JavaScript objects without sanitization, allowing injection into the shared Object.prototype chain inherited by all plain objects in the runtime. Because prototype lookups traverse this chain, all objects in the same JavaScript execution context may be affected. In Node.js server-side deployments this class of vulnerability has historically escalated to remote code execution or authentication bypass when consuming application code performs property existence checks on plain objects. CPE cpe:2.3:a:svgdotjs:svg.js:*:*:*:*:*:*:*:* covers all versions through 3.2.5.

Know when Prototype Pollution gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P
vuln.today AI 5.4 MEDIUM

PR:L per CVSS 4.0 input; S:U and A:N because prototype pollution in a graphics library does not escalate scope or meaningfully disrupt availability in typical usage.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
Jul 14, 2026 - 16:22 NVD
MEDIUM LOW
CVSS changed
Jul 14, 2026 - 16:22 NVD
5.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A vulnerability was found in svgdotjs svg.js up to 3.2.5. This affects the function EventTarget.on of the file svgdotjs/svg.js of the component npm Package API. Performing a manipulation results in improperly controlled modification of object prototype attributes. The attack may be initiated remotely. The project was informed of the problem early through an issue report but has not responded yet.

Threat Intelligence Overview

EPSS Score
0.3%
Top 75% exploitable
Prevalence
Medium
popular SVG manipulation npm library, common in frontend and Node.js projects
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.3%
Patch available No
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

10
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-34621 HIGH POC
8.6 Apr 11

Prototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu

CVE-2021-23450 CRITICAL POC
9.8 Dec 17

All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (

CVE-2024-56059 CRITICAL
9.8 Dec 18

Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau

CVE-2021-23383 CRITICAL POC
9.8 May 04

The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co

CVE-2020-7788 CRITICAL POC
9.8 Dec 11

This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl

CVE-2020-28271 CRITICAL POC
9.8 Nov 12

Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service

CVE-2023-38894 CRITICAL POC
9.8 Aug 16

A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi

CVE-2024-24292 CRITICAL POC
9.8 Mar 28

A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function

CVE-2023-26121 CRITICAL POC
10.0 Apr 11

All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s

CVE-2021-23449 CRITICAL POC
10.0 Oct 18

This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr

CVE-2024-39011 CRITICAL POC
9.8 Jul 30

Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser

CVE-2024-38988 CRITICAL POC
9.8 Mar 28

alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy