SCA: security update for jspdf (GHSA-cjw8-79x6-5cj4)

medium Tenable Self-Hosted Container Security Plugin ID 437418

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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].
(CVE-2026-24040)

See Also

https://github.com/advisories/GHSA-cjw8-79x6-5cj4

Plugin Details

Severity: Medium

ID: 437418

Version: Revision 1.9

Type: Local

Family: SCA Checks

Published: 2/2/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.71

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3.1

Vector: CVSS2#AV:N/AC:H/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-24040

CVSS v3

Risk Factor: Medium

Base Score: 4.8

Temporal Score: 4.3

Vector: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.3

Threat Score: 2.9

Threat Vector: CVSS:4.0/E:P

Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2/2/2026

Vulnerability Publication Date: 2/2/2026

Reference Information

CVE: CVE-2026-24040