VDB

CVE-2025-25977

CVE-2025-25977 PUBLISHED CVSS 9.800000190734863 CRITICAL

canvg Prototype Pollution vulnerability

Reported by mitre · Published March 10, 2025

canvg is fixed in 4.0.3 and 3.0.11 (npm)

An issue in canvg v.4.0.2 allows an attacker to execute arbitrary code via the Constructor of the class StyleElement.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
canvgnpm4.0.3, 3.0.11
opensearch-dashboards-2Chainguard2.19.1-r2

Risk scores

CVSS 3.1
9.800000190734863
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected products

VendorProductVersions
n/an/an/a
npmcanvg4.0.0, 0
chainguardopensearch-dashboards-20
n/an/a*
wolfiopensearch-dashboards-20
chainguardopensearch-dashboards-2-fips0

Timeline

  • Mar 10, 2025 CVE Published
  • Mar 11, 2025 EPSS Score (30 in total, the first dated here)
  • Mar 25, 2025 Coalition ESS Score (10 in total, the first dated here)
  • Mar 9, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2025-25977
vulnetix vdb fixes CVE-2025-25977

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/CVE-2025-25977/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›