{"id":"GHSA-cjw8-79x6-5cj4","revision":null,"records":[{"revision":"f1bc807c7b944de68f93b178c5c6ddca","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-24040","aliases":[],"title":"jsPDF has a Shared State Race Condition in addJS Plugin","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 jsPDF@4.1.0.","state":0,"publishedAt":"2026-02-02T20:38:24.732+00:00","modifiedAt":"2026-02-03T15:30:05.465+00:00","affected":[{"ecosystem":"Vendor product","name":"jsPDF","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"parallax\",\n                    \"product\": \"jsPDF\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.1.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":6.3,"severity":"MEDIUM"}],"references":["https://github.com/parallax/jsPDF/security/advisories/GHSA-cjw8-79x6-5cj4","https://github.com/parallax/jsPDF/commit/2863e5c26afef211a545e8c174ab4d5fce3b8c0e","https://github.com/parallax/jsPDF/releases/tag/v4.1.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-24040","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-24040","identifiers":["CVE-2026-24040"]},"retained":false,"historicalAffected":[]},{"revision":"bed967ef15904bc3ad153803aae8d26a","observedAt":"2026-11-15T07:37:56.317+00:00","statement":{"source":"euvd","id":"EUVD-2026-5292","aliases":["CVE-2026-24040","GHSA-cjw8-79x6-5cj4"],"title":"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.…","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 jsPDF@4.1.0.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 4.0","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","score":6.3,"severity":null}],"references":["https://github.com/parallax/jsPDF/security/advisories/GHSA-cjw8-79x6-5cj4","https://github.com/parallax/jsPDF/commit/2863e5c26afef211a545e8c174ab4d5fce3b8c0e","https://github.com/parallax/jsPDF/releases/tag/v4.1.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-5292","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 2, 2026, 8:38:24 PM","dateUpdated":"Feb 3, 2026, 3:30:05 PM"},"relatedAdvisories":[{"id":"RHSA-2026:4467","title":"Red Hat Security Advisory: RHACS 4.9.4 security and bug fix update","vulnerabilityIds":["CVE-2025-13465","CVE-2025-61726","CVE-2025-61728","CVE-2025-61729","CVE-2025-66418","CVE-2025-66471","CVE-2025-68121","CVE-2026-21441","CVE-2026-24040","CVE-2026-24737"]},{"id":"WID-SEC-W-2026-0553","title":"HCL BigFix: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-68428","CVE-2026-22029","CVE-2026-24040","CVE-2026-24043","CVE-2026-24133","CVE-2026-24737","CVE-2026-25639"]},{"id":"WID-SEC-W-2026-2933","title":"Splunk SOAR: Mehrere Schwachstellen","vulnerabilityIds":["CVE-2025-13465","CVE-2025-13473","CVE-2025-14550","CVE-2025-15599","CVE-2025-53859","CVE-2025-6545","CVE-2025-6547","CVE-2025-66221","CVE-2025-67724","CVE-2025-67725","CVE-2025-67726","CVE-2025-68428","CVE-2025-69873","CVE-2026-0540","CVE-2026-1207","CVE-2026-1285","CVE-2026-1287","CVE-2026-1312","CVE-2026-1642","CVE-2026-2004","CVE-2026-2005","CVE-2026-2006","CVE-2026-21226","CVE-2026-21860","CVE-2026-22702","CVE-2026-22815","CVE-2026-2391","CVE-2026-24001","CVE-2026-24040","CVE-2026-24043","CVE-2026-24133","CVE-2026-24737","CVE-2026-25535","CVE-2026-25673","CVE-2026-25674","CVE-2026-25755","CVE-2026-25940","CVE-2026-26007","CVE-2026-26996","CVE-2026-27199","CVE-2026-2739","CVE-2026-27651","CVE-2026-27654","CVE-2026-27784","CVE-2026-27959","CVE-2026-28277","CVE-2026-28684","CVE-2026-28753","CVE-2026-28755","CVE-2026-29063","CVE-2026-2950","CVE-2026-30922","CVE-2026-31898","CVE-2026-31938","CVE-2026-31958","CVE-2026-32141","CVE-2026-32597","CVE-2026-32647","CVE-2026-33228","CVE-2026-33532","CVE-2026-33671","CVE-2026-33672","CVE-2026-33750","CVE-2026-34513","CVE-2026-34514","CVE-2026-34515","CVE-2026-34516","CVE-2026-34517","CVE-2026-34518","CVE-2026-34519","CVE-2026-34520","CVE-2026-34525","CVE-2026-34601","CVE-2026-35536","CVE-2026-40087","CVE-2026-40460","CVE-2026-40701","CVE-2026-41066","CVE-2026-42215","CVE-2026-42284","CVE-2026-42934","CVE-2026-42945","CVE-2026-42946","CVE-2026-44243","CVE-2026-44244","CVE-2026-4800","CVE-2026-76356","CVE-2026-76357","CVE-2026-76358","CVE-2026-76359","CVE-2026-76360","CVE-2026-76361","CVE-2026-76362","CVE-2026-76363","CVE-2026-76364","CVE-2026-76365","CVE-2026-76366","CVE-2026-76367","CVE-2026-76368","CVE-2026-76369","CVE-2026-76370","CVE-2026-9256"]},{"id":"RHSA-2026:4466","title":"Red Hat Security Advisory: RHACS 4.8.9 security and bug fix update","vulnerabilityIds":["CVE-2025-13465","CVE-2025-61726","CVE-2025-61728","CVE-2025-61729","CVE-2025-66418","CVE-2025-66471","CVE-2025-68121","CVE-2026-21441","CVE-2026-24040","CVE-2026-24737"]}],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-5292","identifiers":["EUVD-2026-5292","CVE-2026-24040","GHSA-cjw8-79x6-5cj4"]},"retained":false,"historicalAffected":[]},{"revision":"4dc0a4e05d1e4241913d14366d8ea230","observedAt":"2026-10-25T05:17:36.726+00:00","statement":{"source":"nvd","id":"CVE-2026-24040","aliases":[],"title":"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.…","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 jsPDF@4.1.0.","state":0,"publishedAt":"2026-02-02T23:16:07.66+00:00","modifiedAt":"2026-06-17T10:22:30.403+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","score":6.3,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-24040","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-362"],"productCriteria":["cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-02-02T23:16:07.660","lastModified":"2026-06-17T10:22:30.403"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-24040","identifiers":["CVE-2026-24040"]},"retained":false,"historicalAffected":[]},{"revision":"c5721fb816e54e5c917f3aa96c2ce067","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-cjw8-79x6-5cj4","aliases":["CVE-2026-24040"],"title":"jsPDF has Shared State Race Condition in addJS Plugin","description":"### Impact\n\nThe 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.\n\nIf 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.\n\nTypically, this only affects server-side environments, although the same race conditions might occur if jsPDF runs client-side.\n\n```js\nimport { jsPDF } from \"jspdf\";\n\nconst docA = new jsPDF();\nconst docB = new jsPDF();\n\n// 1. User A sets their script (stored in shared 'text' variable)\ndocA.addJS('console.log(\"Secret A\");');\n\n// 2. User B sets their script (overwrites shared 'text' variable)\ndocB.addJS('console.log(\"Secret B\");');\n\n// 3. User A saves their PDF (reads current 'text' variable)\ndocA.save(\"userA.pdf\");\n\n// Result: userA.pdf contains \"Secret B\" instead of \"Secret A\"\n```\n\n### Patches\nThe vulnerability has been fixed in jspdf@4.0.1. The fix moves the shared variable into the function scope, ensuring isolation between instances.\n\n### Workarounds\nAvoid using the addJS method in concurrent server-side environments. If usage is required, ensure requests are processed sequentially (e.g., using a queue) rather than in parallel.","state":0,"publishedAt":"2026-02-02T18:20:02+00:00","modifiedAt":"2026-09-10T03:50:59.4223901+00:00","affected":[{"ecosystem":"npm","name":"jspdf","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.1.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V4","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","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/parallax/jsPDF/security/advisories/GHSA-cjw8-79x6-5cj4","https://nvd.nist.gov/vuln/detail/CVE-2026-24040","https://github.com/parallax/jsPDF/commit/2863e5c26afef211a545e8c174ab4d5fce3b8c0e","https://github.com/parallax/jsPDF","https://github.com/parallax/jsPDF/releases/tag/v4.1.0"],"sourceUrl":"https://github.com/advisories/GHSA-cjw8-79x6-5cj4","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-cjw8-79x6-5cj4","identifiers":["GHSA-cjw8-79x6-5cj4","CVE-2026-24040"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-15T11:05:17.2943378+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T11:05:17.2943378+00:00","lastSuccessAt":"2026-11-15T11:05:17.4673918+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:05:17.4673928+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-7de4d7559a5263003f03d9f70577ab06f92ba4178309f26fce53e22a4a959294-f90179050d1e68c26defb06294e68ca9aad67fa6285a72a309f2510089445b08","complete":true,"records":425787,"lastAttemptAt":"2026-11-15T11:01:58.8542146+00:00","lastSuccessAt":"2026-11-15T11:01:58.8389797+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:01:58.8542146+00:00","snapshotPublishedAt":"2026-11-15T10:28:09+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-f981543109394c8f9b3df5737aa835e7","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T11:15:00.6236179+00:00","lastSuccessAt":"2026-11-15T11:15:00.619+00:00","error":"257 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-15T11:15:00.619+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13558,"expectedIdentifiers":13874,"failedIdentifiers":257},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-15T11:05:17.2943378+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T11:05:17.2943378+00:00","lastSuccessAt":"2026-11-15T11:05:17.4693563+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:05:17.4693566+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d33b5144615b488f88b7a7390696bc39","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T11:05:18.0594066+00:00","lastSuccessAt":"2026-11-15T10:02:36.038+00:00","error":null,"lastVerifiedAt":"2026-11-15T10:02:36.038+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13874,"expectedIdentifiers":13874,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-64eea06dbd27de8464d5dbce1b78cc794cc59e2d901516ae0d3ea76e624cdae0","complete":true,"records":9955,"lastAttemptAt":"2026-11-15T11:05:12.198625+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:05:12.198625+00:00","snapshotPublishedAt":"2026-11-14T13:17:57+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-15T11:01:59.0034935+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:01:59.0034935+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T11:05:17.2566792+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:05:17.2566792+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-ff18f36f13fcca3a20a3fb9274b59b8872d18869a99071730e1e79b625c8f612","complete":true,"records":232475,"lastAttemptAt":"2026-11-15T11:05:12.0533004+00:00","lastSuccessAt":"2026-11-15T11:05:10.4195883+00:00","error":null,"lastVerifiedAt":"2026-11-15T11:05:12.0533004+00:00","snapshotPublishedAt":"2026-11-15T10:33:06+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}