{"id":"GHSA-9vjf-qc39-jprp","revision":null,"records":[{"revision":"5f0f4cdde37f43d7b1a368f3ed800cf2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-25755","aliases":[],"title":"jsPDF has PDF Object Injection via Unsanitized Input in addJS Method","description":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in jspdf@4.2.0. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.","state":0,"publishedAt":"2026-02-19T14:41:46.941+00:00","modifiedAt":"2026-09-07T12:05:03.219+00:00","affected":[{"ecosystem":"Vendor product","name":"jsPDF","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"parallax\",\n                    \"product\": \"jsPDF\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 4.2.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"severity":"HIGH"}],"references":["https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp","https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437","https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md","https://github.com/parallax/jsPDF/releases/tag/v4.2.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-25755","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-25755","identifiers":["CVE-2026-25755"]},"retained":false,"historicalAffected":[]},{"revision":"e85d52cdb0e64f85bd070a34fae63707","observedAt":"2026-11-13T11:02:14.815+00:00","statement":{"source":"euvd","id":"EUVD-2026-8109","aliases":["CVE-2026-25755","GHSA-9vjf-qc39-jprp"],"title":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the Jav…","description":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in jspdf@4.2.0. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"severity":null}],"references":["https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp","https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437","https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md","https://github.com/parallax/jsPDF/releases/tag/v4.2.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-8109","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Feb 19, 2026, 2:41:46 PM","dateUpdated":"Sep 7, 2026, 12:05:03 PM"},"relatedAdvisories":[{"id":"RHSA-2026:7110","title":"Red Hat Security Advisory: RHACS 4.8.10 security and bug fix update","vulnerabilityIds":["CVE-2026-25128","CVE-2026-25535","CVE-2026-25755","CVE-2026-25896","CVE-2026-25940","CVE-2026-26278","CVE-2026-27942","CVE-2026-29074","CVE-2026-31898","CVE-2026-31938","CVE-2026-33036","CVE-2026-33186"]},{"id":"RHSA-2026:7128","title":"Red Hat Security Advisory: RHACS 4.9.5 security and bug fix update","vulnerabilityIds":["CVE-2026-25128","CVE-2026-25535","CVE-2026-25755","CVE-2026-25896","CVE-2026-25940","CVE-2026-26278","CVE-2026-27942","CVE-2026-31898","CVE-2026-31938","CVE-2026-33036","CVE-2026-33186"]}],"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-8109","identifiers":["EUVD-2026-8109","CVE-2026-25755","GHSA-9vjf-qc39-jprp"]},"retained":false,"historicalAffected":[]},{"revision":"6ee88963da83467e9d920af01edb5f5c","observedAt":"2026-10-25T06:17:16.233+00:00","statement":{"source":"nvd","id":"CVE-2026-25755","aliases":[],"title":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the Jav…","description":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in jspdf@4.2.0. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.","state":0,"publishedAt":"2026-02-19T15:16:12.303+00:00","modifiedAt":"2026-08-18T12:17:55.89+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":8.1,"severity":"HIGH"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":8.8,"severity":"HIGH"},{"system":"CVSS 3.1 · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"severity":"CRITICAL"}],"references":["https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md","https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437","https://github.com/parallax/jsPDF/releases/tag/v4.2.0","https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp","https://access.redhat.com/errata/RHSA-2026:7110","https://access.redhat.com/errata/RHSA-2026:7128","https://access.redhat.com/security/cve/CVE-2026-25755","https://bugzilla.redhat.com/show_bug.cgi?id=2440993","https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25755.json"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-25755","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Modified","weaknesses":["CWE-94","CWE-116"],"productCriteria":["cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-02-19T15:16:12.303","lastModified":"2026-08-18T12:17:55.890"},"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-25755","identifiers":["CVE-2026-25755"]},"retained":false,"historicalAffected":[]},{"revision":"dadb9cdf5e0d41b19ddae5e94cb24b62","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-9vjf-qc39-jprp","aliases":["CVE-2026-25755"],"title":"jsPDF has a PDF Object Injection via Unsanitized Input in addJS Method","description":"### Impact\n\nUser control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF.\n\n```js\nimport { jsPDF } from \"jspdf\";\nconst doc = new jsPDF();\n// Payload:\n// 1. ) closes the JS string.\n// 2. > closes the current dictionary.\n// 3. /AA ... injects an \"Additional Action\" that executes on focus/open.\nconst maliciousPayload = \"console.log('test');) >> /AA << /O << /S /JavaScript /JS (app.alert('Hacked!')) >> >>\";\n\ndoc.addJS(maliciousPayload);\ndoc.save(\"vulnerable.pdf\");\n```\n\n### Patches\nThe vulnerability has been fixed in jspdf@4.2.0.\n\n### Workarounds\nEscape parentheses in user-provided JavaScript code before passing them to the `addJS` method.\n### References\nhttps://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md","state":0,"publishedAt":"2026-02-19T19:32:36+00:00","modifiedAt":"2026-09-10T03:50:59.366093+00:00","affected":[{"ecosystem":"npm","name":"jspdf","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"4.2.0"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp","https://nvd.nist.gov/vuln/detail/CVE-2026-25755","https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437","https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md","https://github.com/parallax/jsPDF","https://github.com/parallax/jsPDF/releases/tag/v4.2.0"],"sourceUrl":"https://github.com/advisories/GHSA-9vjf-qc39-jprp","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-9vjf-qc39-jprp","identifiers":["GHSA-9vjf-qc39-jprp","CVE-2026-25755"]},"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-15T08:26:19.5095346+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-15T08:26:19.5095346+00:00","lastSuccessAt":"2026-11-15T08:26:19.7239433+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:19.7240752+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-576973bd2a8c36ed3d013750ca82fcede7b10fe95f071dbe9a6a4dd94759ab84","complete":true,"records":425782,"lastAttemptAt":"2026-11-15T08:26:18.3005554+00:00","lastSuccessAt":"2026-11-15T07:30:53.2350398+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:18.3005554+00:00","snapshotPublishedAt":"2026-11-15T07:28:26+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-80a24a6c6ee54d2fa2fcfef752607137","complete":false,"records":13821,"lastAttemptAt":"2026-11-15T08:36:42.4634915+00:00","lastSuccessAt":"2026-11-15T08:36:42.454+00:00","error":"150 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-15T08:36:42.454+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13500,"expectedIdentifiers":13874,"failedIdentifiers":150},{"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-15T08:26:19.5095346+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-15T08:26:19.5095346+00:00","lastSuccessAt":"2026-11-15T08:26:19.872372+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:19.8723725+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-39f2794893ce49af81edbfe444e36bd6","complete":true,"records":13833,"lastAttemptAt":"2026-11-15T08:26:34.3073084+00:00","lastSuccessAt":"2026-11-15T08:26:34.303+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:34.303+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-15T08:26:19.3405266+00:00","lastSuccessAt":"2026-11-14T13:57:23.1208135+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:19.3405266+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-15T08:26:18.9180413+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:18.9180413+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-012aff9b2fb349d53e2c4bace6ca57956b6f5f9d82c1dc9fdc1c9b3c738f8977","complete":true,"records":3148,"lastAttemptAt":"2026-11-15T08:26:19.363527+00:00","lastSuccessAt":"2026-11-14T04:57:03.8279646+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:19.363527+00:00","snapshotPublishedAt":"2026-11-14T03:02:50+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-878f718ccd076f540460423958c8e379b139b997b45858275573ecc4d702fe9a","complete":true,"records":232474,"lastAttemptAt":"2026-11-15T08:26:19.0296826+00:00","lastSuccessAt":"2026-11-15T05:33:06.8241102+00:00","error":null,"lastVerifiedAt":"2026-11-15T08:26:19.0296826+00:00","snapshotPublishedAt":"2026-11-15T04:33:08+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}