Denial of Service Vulnerability in jsPDF Library by Parallax
CVE-2026-24133
8.7HIGH
What is CVE-2026-24133?
The jsPDF library, which facilitates PDF generation in JavaScript, contains a vulnerability affecting versions prior to 4.1.0. This issue arises from the user's ability to control the first argument of the addImage method, potentially leading to a denial-of-service condition. When unsanitized image data or URLs, specifically harmful BMP files with unusually large dimensions, are passed to the method, it triggers excessive memory allocation and subsequently results in out-of-memory errors. The vulnerability has been addressed in the latest version, jsPDF@4.1.0, which mitigates the threat by reinforcing input validation.
Affected Version(s)
jsPDF < 4.1.0
