CVE-2025-25977: Canvg

Critical severity, CVSS 9.8. EPSS: 0.7% chance of exploitation in the next 30 days.

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

Affected products

  • Canvg Canvg: before 3.0.11 (fixed in 3.0.11); from 4.0.0, before 4.0.3 (fixed in 4.0.3)

Published 2025-03-10. Last modified 2026-06-17.