npm package report

Is canvg safe?

1 known vulnerability, worst severity HIGH.

cvss
9.8

how bad it is if exploited, out of 10

epss
0.70%

chance of exploitation in the next 30 days

xyz score
4.1

CyberXYZ composite, out of 10

fig. 01 — GHSA-v2mw-5mch-w8c5, the advisory selected below

// advisories

GHSA-v2mw-5mch-w8c5

HIGHCVE-2025-25977

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
>= 4.0.0, < 4.0.3, < 3.0.11
Fixed in
4.0.3
Weakness
CWE-1321
Published
2025-03-10
Source
github

GHSANVDMITREreferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 00:43 UTC. The most recent advisory here was published 2025-03-10. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is canvg safe? npm package security report | CyberXYZ