NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2025-25977: canvg Prototype Pollution vulnerability

highCVSS 4.0 8.9GHSA-v2mw-5mch-w8c5

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.

Published Mar 10, 2025 · Updated Mar 17, 2025

Affected packages

canvg

Ecosystem
npm
Affected
>= 4.0.0, < 4.0.3
Fixed in
4.0.3
Check
npm ls canvg

canvg

Ecosystem
npm
Affected
< 3.0.11
Fixed in
3.0.11
Check
npm ls canvg

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to mprins, lironhl-geox.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology