CVE-2025-57810
HIGH 8.7CVSS 4.0jsPDF Denial of Service (DoS)
jsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.2, user control of the first argument of the addImage method results in CPU utilization and denial of service. If given the possibility to pass unsanitized image data or URLs to the addImage method, a user can provide a harmful PNG file that results in high CPU utilization and denial of service. The vulnerability was fixed in jsPDF 3.0.2.
- Published
- 26 Aug 2025
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-20CWE-835
- Also known as
- GHSA-8mvj-3j78-4qmw
- Sources
- NVDJSONOSV GHSA-8mvj-3j78-4qmwJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.7 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | parall | jspdfcpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:* |
< 3.0.2 | 3.0.2 |
| OSV | npm | jspdf | < 3.0.2 | 3.0.2 |
References
- https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9 · Patch, WEB
- https://github.com/parallax/jsPDF/pull/3880 · Issue Tracking, WEB
- https://github.com/parallax/jsPDF/releases/tag/v3.0.2 · Release Notes, WEB
- https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-57810 · ADVISORY
- https://github.com/parallax/jsPDF · PACKAGE
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 26 Aug 2025)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 26 Aug 2025)