Allocation of Resources Without Limits or Throttling in jspdf - CVE-2026-25535
Published: April 27, 2026
jspdf
Detailed vulnerability description
The vulnerability allows a remote attacker to cause a denial of service.
The vulnerability exists due to allocation of resources without limits or throttling in the addImage and html methods when processing unsanitized GIF image data or URLs. A remote attacker can provide a crafted GIF file with large width or height header values to cause a denial of service.
The issue can trigger out-of-memory errors through excessive memory allocation.