canvg is vulnerable to Prototype Pollution
80
High Risk
Affected versions of this package are affected by Prototype Pollution in the StyleElement constructor that arises from a design flaw when getting or setting object properties. This vulnerability allows attackers to manipulate the global prototype chain. If the library interacts with sensitive Node.js APIs, an attacker could exploit these rogue properties to inject malicious code, potentially leading to arbitrary code execution.
You are affected if you are using a version that falls within the vulnerable range.
canvg is vulnerable to Prototype Pollution in versions 3.0.0 - 3.0.8 and 4.0.0 - 4.0.2.
Upgrade the canvg library to the patch version.
Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.
Free. No credit card required.

SOC 2Compliant
ISO 27001Compliant