CVE-2025-25977 — Vulnerability in canvg — CVE Details
canvg Prototype Pollution vulnerability
Summary
Advisory Timeline
- First published March 10, 2025 (581 days ago).
- Last revised September 10, 2026 — 548 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
npm install canvg@4.0.3
npm install canvg@3.0.11
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: npm (1).
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-1321Prototype PollutionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
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
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-25977ADVISORY
- https://github.com/canvg/canvg/issues/1749WEB
- https://github.com/canvg/canvg/commit/c3743e6345f3e01aefdcdd412c3f26494f4b5d7dWEB
- https://github.com/canvg/canvgPACKAGE
- https://github.com/canvg/canvg/blob/937668eced93e0335c67a255d0d2277ea708b2cb/src/Document/StyleElement.tsWEB
Frequently Asked Questions
- What is CVE-2025-25977?
- canvg Prototype Pollution vulnerability This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-25977?
- CVE-2025-25977 affects canvg. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-25977 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Exploitation is straightforward and causes maximum impact. Patch immediately.
Also Known As
Related CVEs
- CVE-2026-107375HIGH
JHipster: SQL Injection in the Parameter of JHipster-Generated Reactive (WebFlux + R2DBC) Applicationssort
- CVE-2026-107384HIGH
MariaDB Connector/Node.js: SQL injection through object keys in SET expansion (permitSetMultiParamEntries)
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies