PT-2026-58063 · Canonical+2 · Node-Svgdotjs-Svg.Js+1
CVSS v2.0
6.5
Medium
| Vector | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Name of the Vulnerable Software and Affected Versions
svgdotjs svg.js versions prior to 3.2.6
Description
A remote attack can be initiated through the npm Package API component. The issue resides in the
EventTarget.on() function within the svgdotjs/svg.js file, where improper manipulation allows for the uncontrolled modification of object prototype attributes. This is known as prototype pollution, a condition where an attacker can inject properties into existing JavaScript objects.Recommendations
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
As a temporary workaround, restrict the use of the
EventTarget.on() function to minimize the risk of exploitation.Exploit
Prototype Pollution
Code Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Related Identifiers
Affected Products
Node-Svgdotjs-Svg.Js
Svg.Js