Description
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.
Published: 2026-07-14
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

A vulnerability has been identified in the svgdotjs svg.js library, specifically in the EventTarget.on function. Exploiting this flaw allows an attacker to manipulate object prototype attributes because the code does not properly control prototype modification. This is a prototype pollution weakness identified as CWE‑1321, with related weaknesses such as CWE‑915 and CWE‑94. The flaw can potentially enable attackers to alter application behavior, compromise data integrity, or facilitate further attacks such as remote code execution.

Affected Systems

All users of the svgdotjs svg.js library up to version 3.2.5 are affected. The vulnerability applies to the npm package for the svg.js component, which is currently unpatched. No other products or versions are listed as affected in the available data.

Risk and Exploitability

The CVSS score of 5.3 denotes a medium impact, while the EPSS lower than 1% suggests a low probability of exploitation at this time. The vulnerability is not cataloged in CISA’s KEV, implying no current evidence of exploitation in the wild. The description indicates that the attack may be initiated remotely; the likely attack vector is inferred to be remote. Because the project has not released a fix, the risk remains elevated until a proper patch or fix becomes available.

Generated by OpenCVE AI on July 31, 2026 at 10:11 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • If running svg.js 3.2.5 or earlier, replace the library with an alternative that does not expose the vulnerable EventTarget.on method.
  • Until a patch is released, restrict the use of this library to trusted inputs only, and sanitize or validate all data that could be passed to EventTarget.on to prevent prototype pollution.
  • Monitor the svgdotjs repository and maintainers for a fix or new release, applying any official update as soon as it becomes available.

Generated by OpenCVE AI on July 31, 2026 at 10:11 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 16 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-915
References
Metrics threat_severity

None

threat_severity

Moderate


Wed, 15 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 14 Jul 2026 15:45:00 +0000

Type Values Removed Values Added
Description 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.
Title svgdotjs svg.js npm Package API EventTarget.on prototype pollution
First Time appeared Svgdotjs
Svgdotjs svg.js
Weaknesses CWE-1321
CWE-94
CPEs cpe:2.3:a:svgdotjs:svg.js:*:*:*:*:*:*:*:*
Vendors & Products Svgdotjs
Svgdotjs svg.js
References
Metrics cvssV2_0

{'score': 6.5, 'vector': 'AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR'}

cvssV3_0

{'score': 6.3, 'vector': 'CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R'}

cvssV4_0

{'score': 5.3, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulDB

Published:

Updated: 2026-07-15T14:47:52.297Z

Reserved: 2026-07-14T05:01:41.727Z

Link: CVE-2026-15697

cve-icon Vulnrichment

Updated: 2026-07-15T14:47:46.323Z

cve-icon NVD

No data.

cve-icon Redhat

Severity : Moderate

Publid Date: 2026-07-14T15:15:09Z

Links: CVE-2026-15697 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T10:15:06Z

Weaknesses
  • CWE-1321

    Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

  • CWE-94

    Improper Control of Generation of Code ('Code Injection')