CVE 8.7 HIGH

jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)_CVE-2025-57810

8.7 / 10
HIGH
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

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.

Basic Information

ID CVE-2025-57810
Source GitHub_M
Published Aug 26, 2025 at 15:37
Modified Aug 26, 2025 at 15:58

Affected Product

Vendor parallax
Product jsPDF
Version < 3.0.2
Affected Versions parallax jsPDF < 3.0.2

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.