CVE Vulnerabilities

CVE-2025-25977

Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Published: Mar 10, 2025 | Modified: Mar 25, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Ubuntu
root.io logo minimus.io logo echo.ai logo

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

Weakness

The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.

Affected Software

NameVendorStart VersionEnd Version
CanvgCanvg*3.0.11 (excluding)
CanvgCanvg4.0.0 (including)4.0.3 (excluding)

Potential Mitigations

References