ADVISORIES

GitHub Advisory Database

GHSA-v2mw-5mch-w8c5

canvg Prototype Pollution vulnerability

Details

An issue in canvg prior to v.4.0.3 and v3.0.11 can lead to prototype pollution via the Constructor of the class StyleElement.

Affected packages

EcosystemPackageAffected versions
npmcanvg
From 4.0.0 before 4.0.3 (fixed in 4.0.3)
npmcanvg
All versions before 3.0.11 (fixed in 3.0.11)

References