cve.bz

CVE-2025-25977

9.8 criticalEPSS 0.7%

Critical (9.8) in canvg canvg. EPSS 0.7% chance of exploitation in the next 30 days. Fixed in canvg 3.0.11, 4.0.3.

An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% chance of exploitation in the next 30 days; higher than 53% of CVEs (scores of 2026-10-31)
CWE
CWE-1321
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-v2mw-5mch-w8c5npmcanvg>=4.0.0 <4.0.34.0.3
GHSA-v2mw-5mch-w8c5npmcanvg<3.0.113.0.11

References

Check your stackJSON