CVE-2025-25977Published Mar 10, 2025 · Mar 10Updated Oct 28
canvg Prototype Pollution vulnerability
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| canvg npm |
|
|
Original description
An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.
From the CVE record · mitre