CVE-2025-25977

canvg: Prototype Pollution Vulneralbility

Published Mar 10, 2025 CVSS 3.1 · 9.8 Critical EPSS < 1% KEV · Not listed
Description
An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-6266 An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.
Github GHSA Github GHSA GHSA-v2mw-5mch-w8c5 canvg Prototype Pollution vulnerability
History
Type Values Removed Values Added
First Time appeared Canvg
Canvg canvg
CPEs cpe:2.3:a:canvg:canvg:*:*:*:*:*:*:*:*
Vendors & Products Canvg
Canvg canvg
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

Type Values Removed Values Added
Title canvg: Prototype Pollution Vulneralbility
Weaknesses CWE-1321
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L'}

threat_severity

Moderate

Type Values Removed Values Added
Description An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Mar 12, 2025, 6:20 PM
Reserved
Feb 7, 2025, 12:00 AM
Status
Analyzed
Published
Mar 10, 2025, 4:15 PM
Modified
Jun 17, 2026, 9:01 AM
Severity
Moderate
Public date
Mar 10, 2025, 12:00 AM