CVE-2026-24040
CVE-2026-24040 is a medium-severity vulnerability in Parall Jspdf with a CVSS 3.x base score of 4.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-362.
Key facts
- Severity: Medium (CVSS 3.x base score 4.8)
- CVSS v4: 6.3
- EPSS exploit prediction: 0% (17th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-5292
- Weakness: CWE-362
- Affected product: Parall Jspdf
- Published:
- Last modified:
Description
jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, the addJS method in the jspdf Node.js build utilizes a shared module-scoped variable (text) to store JavaScript content. When used in a concurrent environment (e.g., a Node.js web server), this variable is shared across all requests. If multiple requests generate PDFs simultaneously, the JavaScript content intended for one user may be overwritten by a subsequent request before the document is generated. This results in Cross-User Data Leakage, where the PDF generated for User A contains the JavaScript payload (and any embedded sensitive data) intended for User B. Typically, this only affects server-side environments, although the same race conditions might occur if jsPDF runs client-side. The vulnerability has been fixed in [email protected].
Frequently asked questions
- What is CVE-2026-24040?
- jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, the addJS method in the jspdf Node.js build utilizes a shared module-scoped variable (text) to store JavaScript content. When used in a concurrent environment (e.g., a Node.js web server), this variable is shared across all requests. If multiple requests generate PDFs simultaneously, the JavaScript content intended for one user may be overwritten by a subsequent request before the document is generated. This results in Cross-User Data Leakage, where the PDF generated for User A contains the JavaScript payload (and any embedded sensitive data) intended for User B. Typically, this only affects server-side environments, although the same race conditions might occur if jsPDF runs client-side. The vulnerability has been fixed in [email protected].
- How severe is CVE-2026-24040?
- CVE-2026-24040 has a CVSS 3.x base score of 4.8, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is low, integrity low, and availability none.
- Is CVE-2026-24040 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (17th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-24040?
- CVE-2026-24040 affects Parall Jspdf. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-24040?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2026-24040 have an EU (EUVD) identifier?
- Yes. CVE-2026-24040 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-5292.
- When was CVE-2026-24040 published?
- CVE-2026-24040 was published on 2026-02-02 and last updated on 2026-06-17.
References
- https://github.com/parallax/jsPDF/commit/2863e5c26afef211a545e8c174ab4d5fce3b8c0e
- https://github.com/parallax/jsPDF/releases/tag/v4.1.0
- https://github.com/parallax/jsPDF/security/advisories/GHSA-cjw8-79x6-5cj4
Affected products (1)
- cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*
More vulnerabilities in Parall Jspdf
- CVE-2026-31938 — Critical (CVSS 9.6): jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.2.1, user control of the `options` argument of…
- CVE-2026-31898 — High (CVSS 8.1): jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.2.1, user control of arguments of the…
- CVE-2026-25940 — High (CVSS 8.1): jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of properties and methods of the…
- CVE-2026-25755 — High (CVSS 8.1): jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method…
- CVE-2026-24737 — High (CVSS 8.1): jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of properties and methods of the…
- CVE-2026-25535 — High (CVSS 7.5): jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the first argument of the `addImage`…
All CVEs affecting Parall Jspdf →
Other CWE-362 (Race Condition) vulnerabilities
- CVE-2022-27626 — Critical (CVSS 10.0): A vulnerability regarding concurrent execution using shared resource with improper synchronization ('Race Condition')…
- CVE-2015-8556 — Critical (CVSS 10.0): Local privilege escalation vulnerability in the Gentoo QEMU package before 2.5.0-r1.
- CVE-2014-0703 — Critical (CVSS 10.0): Cisco Wireless LAN Controller (WLC) devices 7.4 before 7.4.110.0 distribute Aironet IOS software with a race condition…
- CVE-2010-1228 — Critical (CVSS 10.0): Multiple race conditions in the sandbox infrastructure in Google Chrome before 4.1.249.1036 have unspecified impact and…
- CVE-2008-6598 — Critical (CVSS 10.0): Multiple race conditions in WANPIPE before 3.3.6 have unknown impact and attack vectors related to "bri restart logic."
- CVE-2026-46137 — Critical (CVSS 9.8): In the Linux kernel, the following vulnerability has been resolved: mptcp: pm: ADD_ADDR rtx: fix potential…