Description
An issue in canvg prior to v.4.0.3 and v3.0.11 can lead to prototype pollution via the Constructor of the class StyleElement.
Recommendation
Update the canvg package to the latest compatible version. Followings are version details:
Affected version(s): **< 3.0.11 >= 4.0.0, < 4.0.3** Patched version(s): **3.0.11 4.0.3**
References
Related Issues
- Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions - lodash.unset - CVE-2025-13465
- Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions - CVE-2025-13465
- Lodash has Prototype Pollution Vulnerability in `_.unset` and `_.omit` functions - lodash-es - CVE-2025-13465
- js-toml Prototype Pollution Vulnerability - CVE-2025-54803
You might also like:
- Tags:
- npm
- canvg
Anything's wrong? Let us know Last updated on March 17, 2025


