CVE-2025-25977

Critical

Description

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

SeverityCritical
CVSS9.8
Exploit probability—
ProductCanvg
PublishedMar 10, 2025
First seenMar 10, 2025

How to fix

Update
  • canvg canvg3.0.11, 4.0.3 or later
  • canvg4.0.3, 3.0.11 or later

Affected products

ProductAffected versionsFixed in
canvg canvgv < 3.0.11, 4.0.0 ≤ v < 4.0.33.0.11, 4.0.3
canvgnpm4.0.0 ≤ v < 4.0.3, v < 3.0.114.0.3, 3.0.11

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.