VDB
GHSA-v2mw-5mch-w8c5
GHSA-v2mw-5mch-w8c5
PUBLISHED
CVSS 8.899999618530273 HIGH
canvg Prototype Pollution vulnerability
Record from GitHub Advisory Database · Published March 10, 2025
canvg is fixed in 4.0.3 and 3.0.11 (npm)
canvg Prototype Pollution vulnerability
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| canvg | npm | 4.0.3, 3.0.11 |
| opensearch-dashboards-2-fips | Chainguard | 2.19.1-r2 |
| opensearch-dashboards-2 | Chainguard | 2.19.1-r2 |
| opensearch-dashboards-2 | Wolfi | 2.19.1-r2 |
Risk scores
CVSS 4.0
8.899999618530273
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P
Affected products
| Vendor | Product | Versions |
|---|---|---|
| chainguard | opensearch-dashboards-2-fips | 0 |
| chainguard | opensearch-dashboards-2 | 0 |
| wolfi | opensearch-dashboards-2 | 0 |
| npm | canvg | 4.0.0, 0 |
Timeline
- Mar 10, 2025 CVE Published
- Apr 9, 2026 Security Advisory
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln GHSA-v2mw-5mch-w8c5
vulnetix vdb fixes GHSA-v2mw-5mch-w8c5
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/GHSA-v2mw-5mch-w8c5/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/canvg/canvg/issues/1749 discussion
- https://nvd.nist.gov/vuln/detail/CVE-2025-25977 advisory
- https://github.com/canvg/canvg/blob/937668eced93e0335c67a255d0d2277ea708b2cb/src/Document/StyleElement.ts url
- https://github.com/canvg/canvg package
- https://github.com/canvg/canvg/commit/c3743e6345f3e01aefdcdd412c3f26494f4b5d7d fix