CVE-2025-25977

CRITICAL CVSS 3.1: 9.8 EPSS 0.71%
Updated Mar 25, 2025
Canvg
Parameter Value
CVSS 9.8 (CRITICAL)
Affected Versions 4.0.0 — 4.0.3
Fixed In 3.0.11
Type CWE-1321 (Prototype Pollution)
Vendor Canvg
Public PoC No

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

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v3.1

Weakness Type (CWE)

Vulnerable Products 2

Configuration From (including) Up to (excluding)
Canvg Canvg
cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:*
— 3.0.11
Canvg Canvg
cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:*
4.0.0 4.0.3