Read the docs
TI-2026-19369 Aliases CVE-2026-24040GHSA-cjw8-79x6-5cj4

jsPDF has a Shared State Race Condition in addJS Plugin

Priority LOW 34CWE-362Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Attack requirements
Present
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-200.

Summary

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].

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00278 20th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed jsPDF (parallax): 4.1.0jspdf (npm): 4.1.0Red Hat: 2 advisories

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
parallaxjsPDFbefore 4.1.04.1.0Patch availableCNA
—jspdf (npm)before 4.1.04.1.0Patch availableGHSA-cjw8-79x6-5cj4
  • jsPDF Vendorparallax Affected before 4.1.0 Fixed in 4.1.0 Patch available CNA
  • jspdf (npm) Vendor— Affected before 4.1.0 Fixed in 4.1.0 Patch available GHSA-cjw8-79x6-5cj4

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*before 4.1.0Vulnerableparallax
  • cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:* Versions before 4.1.0 Vulnerable ·parallax

Remediation

  • Fix · CNA jsPDF (parallax) Fixed in 4.1.0
  • Fix · GHSA-cjw8-79x6-5cj4 jspdf (npm) Fixed in 4.1.0 Advisory →

Red Hat 2 advisories

  • RHSA-2026:4467 Released 2026-03-12 · Red Hat rating Important
    RHACS 4.9.4 security and bug fix update
    • Red Hat Advanced Cluster Security 4.9 registry.redhat.io/advanced-cluster-security/rhacs-central-db-rhel8, registry.redhat.io/advanced-cluster-security/rhacs-collector-rhel8, registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8 +8
  • RHSA-2026:4466 Released 2026-03-12 · Red Hat rating Important
    RHACS 4.8.9 security and bug fix update
    • Red Hat Advanced Cluster Security 4.8 registry.redhat.io/advanced-cluster-security/rhacs-central-db-rhel8, registry.redhat.io/advanced-cluster-security/rhacs-collector-rhel8, registry.redhat.io/advanced-cluster-security/rhacs-main-rhel8 +8

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Advanced Cluster Security 4.8Fixed RHSA-2026:4466
Red Hat Advanced Cluster Security 4.9Fixed RHSA-2026:4467
Not affected: 3 products
  • Red Hat Advanced Cluster Security 4
  • Red Hat Advanced Cluster Security 4.8
  • Red Hat Advanced Cluster Security 4.9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-24040
  2. 2026-10-03 Alias added: GHSA-cjw8-79x6-5cj4

References

  • TI-2026-20644 jsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF Dimensions CVSS 4.0HIGH 8.7
  • TI-2025-35693 jsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS) CVSS 4.0HIGH 8.7
  • TI-2025-21292 jsPDF Bypass Regular Expression Denial of Service (ReDoS) CVSS 4.0HIGH 8.7
  • TI-2025-41976 jsPDF has Local File Inclusion/Path Traversal vulnerability CVSS 4.0CRITICAL 9.2
  • TI-2026-24484 jsPDF has HTML Injection in New Window paths CVSS 3.1CRITICAL 9.6
  • TI-2026-20823 jsPDF has PDF Object Injection via Unsanitized Input in addJS Method CVSS 3.1HIGH 8.8
See all 14 →

Sources