Vulnerability Database · npm · jspdf · Version
jspdf 4.1.0
4.1.0 is affected by 7 vulnerabilities.
The vulnerabilities that cover this exact version are listed below with the fixed version to move to. The upgrade Vulert recommends: 4.2.1.
Critical 1 High 6 Medium 0 Low 0 Unrated 0
-
Released 02 Feb 2026
Licence MIT
Also known from other sources 5
Newer releases 34
Database updated 23/Oct/2026
Release and licence data published by the npm registry. 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 Vulnerabilities affecting this version
jspdf 4.1.0 vulnerabilities
7 vulnerabilities cover jspdf 4.1.0. Open the full list in the database.
| 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 |
| CVE-2026-25535: jsPDF Denial of Service via Malicious GIF Dimensions | 8.7 high | 4.2.0 | 19 Feb 2026 |
| CVE-2026-31898: jsPDF Arbitrary PDF Object Injection via FreeText Color | 8.1 high | 4.2.1 | 17 Mar 2026 |
| CVE-2026-25940: jsPDF Arbitrary JavaScript Execution via PDF Injection in AcroForm Module | 8.1 high | 4.2.0 | 19 Feb 2026 |
| CVE-2026-25940: jsPDF Arbitrary JavaScript Execution via PDF Injection in AcroForm Module | 8.1 high | 4.2.0 | 19 Feb 2026 |
| CVE-2026-25755: jsPDF PDF Object Injection via Unsanitized Input in addJS Method | 8.1 high | 4.2.0 | 19 Feb 2026 |
| CVE-2026-25755: jsPDF PDF Object Injection via Unsanitized Input in addJS Method | 8.1 high | 4.2.0 | 19 Feb 2026 |
Looking for another version, or everything Vulert holds for jspdf?
Questions
About jspdf 4.1.0
Is jspdf 4.1.0 vulnerable?
Yes. 7 vulnerabilities in the Vulert database cover jspdf 4.1.0: 1 critical, 6 high, 0 medium and 0 low. The upgrade Vulert recommends is 4.2.1, and each entry above names the fixed version to move to.
Which version of jspdf should I use instead of 4.1.0?
4.2.1 is the version Vulert recommends for this release line. The version table on the package page lists every release with the vulnerabilities recorded against it.
Is 4.1.0 the latest release of jspdf?
No. 4.1.0 was published 02 Feb 2026, and newer releases exist. Newer is not automatically safer — the version table on the package page shows what each release carries.
How do I monitor jspdf for upcoming vulnerabilities?
Upload the manifest or SBOM for your application at vulert.com/scanner and Vulert keeps checking the jspdf version you actually run against new disclosures, then alerts you when one affects it. There is no installation and no source-code access required.