Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege application access
-
DeliveryCraft prototype-polluting event binding payload
-
ExploitSubmit payload to svg.js EventTarget.on
-
ExecutionObject.prototype injected with attacker-controlled property
-
PersistConsuming application reads polluted property
-
ImpactLogic 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
2DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in Prototype Pollution
View allPrototype pollution in Adobe Acrobat Reader versions 24.001.30356, 26.001.21367 and earlier enables arbitrary code execu
All versions of package dojo are vulnerable to Prototype Pollution via the setObject function. Rated critical severity (
Prototype pollution in the farinspace Partners WordPress plugin (versions up to and including 0.2.0) enables remote unau
The package handlebars before 4.7.7 are vulnerable to Prototype Pollution when selecting certain compiling options to co
This affects the package ini before 1.3.6. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitabl
Prototype pollution vulnerability in 'deephas' versions 1.0.0 through 1.0.5 allows attacker to cause a denial of service
A Prototype Pollution issue in Cronvel Tree-kit v.0.7.4 and before allows a remote attacker to execute arbitrary code vi
A Prototype Pollution issue in Aliconnect /sdk v.0.0.6 allows an attacker to execute arbitrary code via the aim function
All versions of the package safe-eval are vulnerable to Prototype Pollution via the safeEval function, due to improper s
This affects the package vm2 before 3.9.4 via a Prototype Pollution attack vector, which can lead to execution of arbitr
Prototype Pollution in chargeover redoc v2.0.9-rc.69 allows attackers to execute arbitrary code or cause a Denial of Ser
alizeait unflatto <= 1.0.2 was discovered to contain a prototype pollution via the method exports.unflatto at /dist/inde
EUVD-2026-43715
GHSA-qf73-72gv-hc6j
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB