# canvg (npm) vulnerabilities

1 known vulnerability (1 critical), with the versions each affects and the releases that fix them.

## At a glance

- Latest release: not known (cve.now hasn't read this package's releases)
- Newest unaffected release: not known without release data
- Registry: https://www.npmjs.com/package/canvg

## Advisories (1)

### [CVE-2025-25977](https://cve.now/CVE-2025-25977): An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.

- Severity: Critical 9.8
- Published: Mar 10, 2025
- Affected: from 4.0.0, fixed in 4.0.3; fixed in 3.0.11.

---

Source: cve.now
Built by [Sazabi](https://www.sazabi.com/?utm_source=cve-now&utm_medium=markdown), AI-native observability and security: automatic issue detection, plain-language log search and live dashboards.
Page: https://cve.now/packages/npm/canvg
Site guide for agents: https://cve.now/llms.txt
Uses NVD data; not endorsed by NVD.
