CVE-2026-24043 Details
Description
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 vulnerability has been fixed in [email protected].
A vulnerability in jsPDF versions prior to 4.1.0 allows for the injection of arbitrary XMP metadata into generated PDFs. This issue arises from user control over the first argument of the addMetadata function, which can be exploited to inject unsanitized XML. If the modified PDF is signed, stored, or processed afterwards, its integrity cannot be assured.
Users can upgrade to jsPDF version 4.1.0 or later, where this vulnerability has been fixed. Additionally, it is recommended to sanitize metadata inputs by escaping XML entities before using the addMetadata function.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/parallax/jsPDF/commit/efe54bf50f3f5e5416b2495e3c24624fc80b6cff | [email protected] | Patch |
| https://github.com/parallax/jsPDF/releases/tag/v4.1.0 | [email protected] | Release Notes |
| https://github.com/parallax/jsPDF/security/advisories/GHSA-vm32-vv63-w422 | [email protected] | ExploitMitigationVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| parall jspdf | < 4.1.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 18, 2026 | Initial Analysis | [email protected] |
| Feb 2, 2026 | New CVE Received | [email protected] |