CVE-2025-25977
canvg Prototype Pollution vulnerability
EPSS 0.30%
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.
How to fix CVE-2025-25977
To remediate CVE-2025-25977, upgrade the affected package to a fixed version below.
- npm/canvg—upgrade to 4.0.3 or later
Is CVE-2025-25977 being exploited?
Low — EPSS is 0.3%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 4.0.0, < 4.0.3
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P |