PT-2026-20849

CVE-2026-25535

·

Published

2026-02-19

·

Updated

2026-10-08

Description by

CVSS 4.0
8.7
High
MetricsAV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions jsPDF versions prior to 4.2.0
Description An issue exists where the addImage() and html() methods accept user input in their first argument without proper sanitization. An attacker can provide a specially crafted GIF file containing excessively large width and height values in the headers. This forces the application to allocate an excessive amount of memory, leading to an out-of-memory condition, application crashes, and denial of service.
Recommendations Update to version 4.2.0 or later. As a temporary workaround, sanitize image data or URLs before passing them to the addImage() method or the html() method.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-67PG-WM7F-Q7FJ
Found an issue in the description? Have something to add? Feel free to write us 👾