Vulnerability Database · npm · Package report
jspdf: vulnerability history, versions and safety
jspdf is a package in the npm ecosystem. Vulert records 18 vulnerabilities for it across 33 releases, from Mar 2021 to Mar 2026. Each vulnerability names the versions it affects, the fixed version to move to, and a workaround where no fix has been published.
Every vulnerability has a patched version to move to.
No published version shipped hostile code.
Vulert verdict on jspdf 4.2.1 i
Updated on 23 Oct 2026
Good news: 4.2.1, the version you would install today, has no known vulnerabilities. Older releases do — the table below lists all 18.
- Security Unfixed issues
- Maintenance Sustainable
- Popularity Key ecosystem project
- Community Active
What to do: Stay on 4.2.1 or newer. This can change: a vulnerability disclosed tomorrow can affect 4.2.1 too — Vulert watches the package and alerts you if that happens. Monitor it with Vulert →
- Current release 4.2.1 — unaffected i
- Vulnerabilities on record 18 over 5 years · 12 in the last year i
- Latest disclosure 17 Mar 2026 i
- Highest CVSS 9.6 i
- With no published fix 0 i
- Depended on by 767 packages i
- Stars 31,310 i
- Last release 7 months ago i
- Licence MIT i
Version list, release dates, licence and dependants published by the npm registry, refreshed 23 Oct 2026. Licence information is not legal advice.
Concerned about your application's security?
Vulert continues monitoring your dependencies and alerts you when new vulnerabilities are disclosed. No installation and no source-code access required.
01 Versions
Which versions are affected
Every version Vulert tracks for jspdf, newest first, with the vulnerabilities recorded against each one. A version showing none has no vulnerability in the Vulert database — open it for the full picture on that release.
- 4.2.1 17 Mar 2026
- 4.2.0 19 Feb 2026
- 4.1.0 02 Feb 2026
- 4.0.0 03 Jan 2026
- 3.0.4 19 Nov 2025
- 3.0.3 18 Sep 2025
- 3.0.2 26 Aug 2025
- 3.0.1 18 Mar 2025
- 3.0.0 19 Feb 2025
- 2.5.2 17 Sep 2024
- 2.5.1 28 Jan 2022
- 2.5.0 21 Dec 2021
- 2.4.0 14 Sep 2021
- 2.3.1 09 Mar 2021
- 2.3.0 15 Jan 2021
- 2.2.0 07 Dec 2020
- 2.1.1 07 Sep 2020
- 2.1.0 25 Aug 2020
- 2.0.0 11 Aug 2020
- 1.5.3 27 Dec 2018
- 1.5.2 20 Dec 2018
- 1.5.1 20 Dec 2018
- 1.4.1 06 Jun 2018
- 1.4.0 21 May 2018
- 1.3.5 14 Sep 2017
- 1.3.4 14 Sep 2017
- 1.3.3 23 Feb 2017
- 1.3.2 30 Sep 2016
- 1.3.1 30 Sep 2016
- 1.3.0 28 Sep 2016
- 1.2.61 01 Mar 2016
- 1.2.60 29 Feb 2016
- 1.1.135 29 Feb 2016
- 1.0.272 19 May 2015
| Version | Released | Vulert vulnerabilities | Licence | Fix published | Details |
|---|---|---|---|---|---|
| 4.2.1 | 17 Mar 2026 | none | MIT | — | Details → |
| 4.2.0 | 19 Feb 2026 | C1 H1 | MIT | Yes | Details → |
| 4.1.0 | 02 Feb 2026 | C1 H6 | MIT | Yes | Details → |
| 4.0.0 | 03 Jan 2026 | C1 H8 M2 | MIT | Yes | Details → |
| 3.0.4 | 19 Nov 2025 | C2 H8 M2 | MIT | Yes | Details → |
| 3.0.3 | 18 Sep 2025 | C2 H8 M2 | MIT | Yes | Details → |
| 3.0.2 | 26 Aug 2025 | C2 H8 M2 | MIT | Yes | Details → |
| 3.0.1 | 18 Mar 2025 | C2 H10 M2 | MIT | Yes | Details → |
| 3.0.0 | 19 Feb 2025 | C2 H11 M2 | MIT | Yes | Details → |
| 2.5.2 | 17 Sep 2024 | C2 H11 M2 | MIT | Yes | Details → |
| 2.5.1 | 28 Jan 2022 | C2 H11 M2 | MIT | Yes | Details → |
| 2.5.0 | 21 Dec 2021 | C2 H11 M2 | MIT | Yes | Details → |
| 2.4.0 | 14 Sep 2021 | C2 H11 M2 | MIT | Yes | Details → |
| 2.3.1 | 09 Mar 2021 | C2 H11 M2 | MIT | Yes | Details → |
| 2.3.0 | 15 Jan 2021 | C2 H12 M2 | MIT | Yes | Details → |
| 2.2.0 | 07 Dec 2020 | C2 H12 M2 | MIT | Yes | Details → |
| 2.1.1 | 07 Sep 2020 | C2 H12 M2 | MIT | Yes | Details → |
| 2.1.0 | 25 Aug 2020 | C2 H12 M2 | MIT | Yes | Details → |
| 2.0.0 | 11 Aug 2020 | C2 H12 M2 | MIT | Yes | Details → |
| 1.5.3 | 27 Dec 2018 | C2 H12 M4 | MIT | Yes | Details → |
| 1.5.2 | 20 Dec 2018 | C2 H12 M4 | MIT | Yes | Details → |
| 1.5.1 | 20 Dec 2018 | C2 H12 M4 | MIT | Yes | Details → |
| 1.4.1 | 06 Jun 2018 | C2 H12 M4 | MIT | Yes | Details → |
| 1.4.0 | 21 May 2018 | C2 H12 M4 | MIT | Yes | Details → |
| 1.3.5 | 14 Sep 2017 | C2 H12 M4 | MIT | Yes | Details → |
| 1.3.4 | 14 Sep 2017 | C2 H12 M4 | MIT | Yes | Details → |
| 1.3.3 | 23 Feb 2017 | C2 H12 M4 | MIT | Yes | Details → |
| 1.3.2 | 30 Sep 2016 | C2 H12 M4 | MIT | Yes | Details → |
| 1.3.1 | 30 Sep 2016 | C2 H12 M4 | MIT | Yes | Details → |
| 1.3.0 | 28 Sep 2016 | C2 H12 M4 | MIT | Yes | Details → |
| 1.2.61 | 01 Mar 2016 | C2 H12 M4 | MIT | Yes | Details → |
| 1.2.60 | 29 Feb 2016 | C2 H12 M4 | MIT | Yes | Details → |
| 1.1.135 | 29 Feb 2016 | C2 H12 M4 | MIT | Yes | Details → |
| 1.0.272 | 19 May 2015 | C2 H12 M4 | MIT | Yes | Details → |
All 34 versions Vulert tracks for this package. Severity counts are the vulnerabilities recorded against that exact release.
02 Disclosure history
How often vulnerabilities are recorded
Counted by the year Vulert recorded each vulnerability — the same date the table below shows as disclosed. 12 of the 18 were recorded in the last 12 months.
Other ways into the data
03 Vulnerabilities
Recorded vulnerabilities for jspdf
| Vulnerability | Severity | Fixed version ↓ | Disclosed ↓ |
|---|---|---|---|
| CVE-2026-31938: jsPDF HTML Injection Vulnerability in New Window Paths | 9.6 critical | 4.2.1 | 17 Mar 2026 |
| Critical Local File Inclusion Vulnerability in jsPDF Package | 9.2 critical | 4.0.0 | 05 Jan 2026 |
| CVE-2026-24133: jsPDF Denial of Service Vulnerability via Unvalidated BMP Dimensions | 8.7 high | 4.1.0 | 02 Feb 2026 |
| CVE-2026-25535: jsPDF Denial of Service via Malicious GIF Dimensions | 8.7 high | 4.2.0 | 19 Feb 2026 |
| jsPDF Denial of Service Vulnerability: Bypass Regular Expression (ReDoS) | 8.7 high | 3.0.1 | 18 Mar 2025 |
Vulnerability wrong, a fix missing, or a package we should cover? Report it and we will fix the record. Report Vulnerability Provide Feedback
Updated: 23/Oct/2026 · Vulnerabilities in our DB: 524315