Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Parall | Jspdf | < 3.0.2 |
Related Weaknesses (CWE)
References
- https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688ePatch
- https://github.com/parallax/jsPDF/pull/3880Issue Tracking
- https://github.com/parallax/jsPDF/releases/tag/v3.0.2Release Notes
- https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmwExploitVendor Advisory
- https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmwExploitVendor Advisory
FAQ
What is CVE-2025-57810?
CVE-2025-57810 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2025-57810?
CVE-2025-57810 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-57810?
Check the references section above for vendor advisories and patch information. Affected products include: Parall Jspdf.