CVE-2026-15697 svgdotjs svg.js npm Package API EventTarget.on prototype pollution
Remote attackers can exploit prototype pollution in svg.js to achieve arbitrary code execution via the EventTarget.on function.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-15697?
CVE-2026-15697 is a medium-severity code injection vulnerability in svgdotjs svg.js, published on 14 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official 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.
Which versions are affected by CVE-2026-15697?
How do I fix CVE-2026-15697?
No fix has been published for CVE-2026-15697 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-15697 being exploited?
There is no known exploitation of CVE-2026-15697 in the wild and no public exploit code.
Sources
Also known as GHSA-qf73-72gv-hc6j, UBUNTU-CVE-2026-15697.