VDB
Sign up
HIGH

GHSA-v2mw-5mch-w8c5

canvg Prototype Pollution vulnerability

Quick fix

GHSA-v2mw-5mch-w8c5 — canvg: upgrade to the fixed version with the command below.

npm install canvg@4.0.3

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/canvg
Introduced in: 4.0.0Fixed in: 4.0.3
Fixnpm install canvg@4.0.3
npm/canvg
Introduced in: 0Fixed in: 3.0.11
Fixnpm install canvg@3.0.11

References