CVE-2026-24043: jsPDF is a library to generate PDFs in JavaScript
CVE-2026-24043 is a medium-severity flaw (CVSS 5.4) affecting jspdf. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addMetadata function allows users to inject arbitrary XML. If given the possibility to pass unsanitized input to the addMetadata method, a user can inject arbitrary XMP metadata into the generated PDF. If the generated PDF is signed, stored or otherwise processed after, the integrity of the PDF can no longer be guaranteed. The vulnerabilit
Why this priority
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.4 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | Required |
| EPSS exploit chance | 0.3% (top 78%) |
| CISA exploited list | No |
| Weakness | CWE-74 |
| Published | 2026-02-02 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-24043?
jspdf: upgrade to 4.1.0. Exact commands for each OS are on this page.
Is CVE-2026-24043 being exploited?
CVE-2026-24043 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-24043 affect?
CVE-2026-24043 affects jspdf. Severity is medium (CVSS 5.4). jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addMetadata function allows users to inject arbitrary XML. If given the possibility to pass unsanitized input to the addMetadata me
How urgent is CVE-2026-24043?
Priority 29/100. Public exploit reference
Related CVEs
- CVE-2025-68428 HIGH 7.5 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-31938 CRITICAL 9.6 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-31898 HIGH 8.1 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-24737 HIGH 8.1 UPGRADE jsPDF is a library to generate PDFs in JavaScript
- CVE-2026-24133 MEDIUM 6.5 UPGRADE jsPDF is a library to generate PDFs in JavaScript