Back to search
CVE-2025-57810
Published: Aug 26, 2025
Modified: Aug 26, 2025
PUBLISHED
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.
| Vendor | Product | Versions |
|---|---|---|
parallax | jsPDF | affected < 3.0.2 |
References
https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw
x_refsource_CONFIRM
https://github.com/parallax/jsPDF/pull/3880
x_refsource_MISC
https://github.com/parallax/jsPDF/releases/tag/v3.0.2
x_refsource_MISC
Security Training
Train your team to recognize and prevent security threats with our comprehensive security awareness program.
Start TrainingVulnerability Scanning
Discover vulnerabilities in your applications and infrastructure before attackers do.
Scan Now