Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2025-57810
August 26, 2025
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.
Affected Packages
jspdf (CDN_JS):
Affected version(s) >=0.9.0rc1 <3.0.2
Fix Suggestion:
Update to version 3.0.2
https://github.com/parallax/jsPDF.git (GITHUB):
Affected version(s) >=v0.9.0 <v3.0.2
Fix Suggestion:
Update to version v3.0.2
jspdf (NPM):
Affected version(s) >=1.0.272 <3.0.2
Fix Suggestion:
Update to version 3.0.2
Do you need more information?
Contact Us
CVSS v4
Base Score:
8.7
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
NONE
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
HIGH
Weakness Type (CWE)
Allocation of Resources Without Limits or Throttling
Loop with Unreachable Exit Condition ('Infinite Loop')
Improper Input Validation
EPSS
Base Score:
0.27