Skip to main content
← All vulnerabilities
CVE-2025-57810GHSA-8MVJ-3J78-4QMW

jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.2
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • parallax jsPDF

    fixed in 3.0.2

  • jspdfnpm

    fixed in 3.0.2

References 4

GitHub · parallax/jsPDF