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.
References (4)
Core 4
Core References
Exploit, Vendor Advisory x_refsource_confirm
https://github.com/parallax/jsPDF/security/advisories/GHSA-8mvj-3j78-4qmw
Patch x_refsource_misc
https://github.com/parallax/jsPDF/commit/4cf3ab619e565d9b88b4b130bff901b91d8688e9
Release Notes x_refsource_misc
https://github.com/parallax/jsPDF/releases/tag/v3.0.2
Issue Tracking x_refsource_misc
https://github.com/parallax/jsPDF/pull/3880
Scores
CVSS v3
7.5
EPSS
0.0028
EPSS Percentile
51.6%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-770
CWE-20
Status
published
Products (2)
npm/jspdf
0 - 3.0.2npm
parall/jspdf
< 3.0.2
Published
Aug 26, 2025
Tracked Since
Feb 18, 2026