CISA list

● npm package

jspdf

Jspdf has 15 security advisories. The newest release any of them names as the fix is 4.2.1.

As of , jspdf has 15 security advisories. The newest release any of them names as the fix is 4.2.1.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 4.2.14.2.115 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-31938GHSA-wfv2-pwc8-crg5jsPDF has HTML Injection in New Window pathsCritical severityBefore 4.2.14.2.1
CVE-2026-31898GHSA-7x6v-j9x4-qf24jsPDF has a PDF Object Injection via FreeText colorHigh severityBefore 4.2.14.2.1
CVE-2026-25940GHSA-p5xg-68wr-hm3mjsPDF has a PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton.createOption and "AS" property)High severityBefore 4.2.04.2.0
CVE-2026-25755GHSA-9vjf-qc39-jprpjsPDF has a PDF Object Injection via Unsanitized Input in addJS MethodHigh severityBefore 4.2.04.2.0
CVE-2026-25535GHSA-67pg-wm7f-q7fjjsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF DimensionsHigh severityBefore 4.2.04.2.0
CVE-2026-24737GHSA-pqxr-3g65-p328jsPDF has PDF Injection in AcroFormChoiceField that allows Arbitrary JavaScript ExecutionHigh severityBefore 4.1.04.1.0
CVE-2026-24133GHSA-95fx-jjr5-f39cjsPDF Vulnerable to Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoderHigh severityBefore 4.1.04.1.0
CVE-2026-24043GHSA-vm32-vv63-w422jsPDF Vulnerable to Stored XMP Metadata Injection (Spoofing & Integrity Violation)Moderate severityBefore 4.1.04.1.0
CVE-2026-24040GHSA-cjw8-79x6-5cj4jsPDF has Shared State Race Condition in addJS PluginModerate severityBefore 4.1.04.1.0
CVE-2025-68428GHSA-f8cm-6447-x5h2jsPDF has Local File Inclusion/Path Traversal vulnerabilityCritical severityBefore 4.0.04.0.0
CVE-2025-57810GHSA-8mvj-3j78-4qmwjsPDF Denial of Service (DoS)High severityBefore 3.0.23.0.2
CVE-2025-29907GHSA-w532-jxjh-hjhjjsPDF Bypass Regular Expression Denial of Service (ReDoS)High severityBefore 3.0.13.0.1
CVE-2020-7690GHSA-vh59-v9r5-4mh4Cross-site scripting in jspdfModerate severityBefore 2.0.02.0.0
CVE-2020-7691GHSA-3q6f-8grx-pr4vCross-site scripting in jspdfModerate severityBefore 2.0.02.0.0
CVE-2021-23353GHSA-57f3-gghm-9mhcjspdf vulnerable to Regular Expression Denial of Service (ReDoS)High severityBefore 2.3.12.3.1

Other npm packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0