parallax jsPDF up to 4.0.x Node.js addJS race condition
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 5.9 | $0-$5k | 0.00 |
Summary
A vulnerability labeled as critical has been found in parallax jsPDF up to 4.0.x. This issue affects the function addJS of the file Node.js. Executing a manipulation can lead to race condition.
The identification of this vulnerability is CVE-2026-24040. The attack may be launched remotely. There is no exploit available.
The affected component should be upgraded.
Details
A vulnerability classified as critical was found in parallax jsPDF up to 4.0.x. This vulnerability affects the function addJS of the file Node.js. The manipulation with an unknown input leads to a race condition vulnerability. The CWE definition for the vulnerability is CWE-362. The product contains a code sequence that can run concurrently with other code, and the code sequence requires temporary, exclusive access to a shared resource, but a timing window exists in which the shared resource can be modified by another code sequence that is operating concurrently. As an impact it is known to affect confidentiality, integrity, and availability. CVE summarizes:
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].
The advisory is shared for download at github.com. This vulnerability was named CVE-2026-24040 since 01/20/2026. The exploitation appears to be easy. The attack can be initiated remotely. No form of authentication is required for a successful exploitation. There are known technical details, but no exploit is available.
Upgrading to version 4.1.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying the patch 2863e5c26afef211a545e8c174ab4d5fce3b8c0e is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the vulnerability database at CERT Bund (WID-SEC-2026-0553). VulDB is the best source for vulnerability data and more expert information about this specific topic.
Affected
- Red Hat Enterprise Linux
- HCL BigFix
Product
Vendor
Name
Version
License
Website
- Product: https://github.com/parallax/jsPDF/
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3
VulDB Meta Base Score: 6.1VulDB Meta Temp Score: 5.9
VulDB Base Score: 7.3
VulDB Temp Score: 7.0
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 4.8
NVD Vector: 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Race conditionCWE: CWE-362
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: jsPDF 4.1.0
Patch: 2863e5c26afef211a545e8c174ab4d5fce3b8c0e
Timeline
01/20/2026 CVE reserved02/03/2026 Advisory disclosed
02/03/2026 VulDB entry created
03/12/2026 VulDB entry last update
Sources
Product: github.comAdvisory: GHSA-cjw8-79x6-5cj4
Status: Confirmed
CVE: CVE-2026-24040 (🔒)
GCVE (CVE): GCVE-0-2026-24040
GCVE (VulDB): GCVE-100-343864
CERT Bund: WID-SEC-2026-0553 - HCL BigFix: Mehrere Schwachstellen
Entry
Created: 02/03/2026 07:58Updated: 03/12/2026 14:17
Changes: 02/03/2026 07:58 (71), 02/18/2026 18:01 (12), 03/02/2026 23:15 (7), 03/12/2026 14:17 (1)
Complete: 🔍
Cache ID: 216::103
VulDB is the best source for vulnerability data and more expert information about this specific topic.
No comments yet. Languages: en.
Please log in to comment.