{"id":"CVE-2026-25755","aliases":["GHSA-9vjf-qc39-jprp"],"summary":"jsPDF has PDF Object Injection via Unsanitized Input in addJS Method","published_at":"2026-02-19T14:41:46.941Z","modified_at":"2026-09-10T03:50:59.366092Z","products":[],"rating":{"severity":"critical","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","attack_path":"internet_unauthenticated","user_interaction":true,"malicious":false,"red_hat":"Important","vendor_ratings":[{"source":"Red Hat","rating":"Important"}]},"fix_available":false,"kev":{"listed":false,"ransomware":false},"public_exploit":false,"exploits":[],"epss":{"score":0.009379999712109566,"percentile":0.6162700057029724,"date":"2026-11-19T00:00:00Z"},"priority":11.1,"details":"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.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 4.2.0"],"provider":"cvelistv5","source":"CVE-2026-25755","relation":"self"},{"ecosystem":"NVD","package":"parall:jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"nvd","source":"CVE-2026-25755","relation":"self"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.4-tuxcare.0"},{"fixed":"3.0.4-tuxcare.6"}]}],"versions":["3.0.4","3.0.4-tuxcare.1","3.0.4-tuxcare.2","3.0.4-tuxcare.3","3.0.4-tuxcare.4","3.0.4-tuxcare.5"],"fixed":["3.0.4-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1773620207","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.2-tuxcare.0"},{"fixed":"2.5.2-tuxcare.7"}]}],"versions":["2.5.2","2.5.2-tuxcare.1","2.5.2-tuxcare.2","2.5.2-tuxcare.3","2.5.2-tuxcare.4","2.5.2-tuxcare.5","2.5.2-tuxcare.6"],"fixed":["2.5.2-tuxcare.7"],"provider":"osv","source":"CLSA-2026-1773620213","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.1-tuxcare.0"},{"fixed":"2.5.1-tuxcare.1"}]}],"versions":["2.5.1"],"fixed":["2.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1780534264","relation":"upstream"},{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.1-tuxcare.0"},{"fixed":"1.4.1-tuxcare.2"}]}],"versions":["1.4.1","1.4.1-tuxcare.1"],"fixed":["1.4.1-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1780966320","relation":"upstream"},{"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"osv","source":"GHSA-9vjf-qc39-jprp","relation":"self"}],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7110"],"provider":"redhat-vex","source":"CVE-2026-25755"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25755"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7128"],"provider":"redhat-vex","source":"CVE-2026-25755"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25755"}],"records":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2933","relation":"upstream","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2933","license":"TLP:CLEAR, mirroring permitted","published_at":"2026-08-19T22:00:00Z","modified_at":"2026-11-02T23:00:00Z","summary":"Splunk SOAR: Mehrere Schwachstellen","details":"Ein Angreifer kann mehrere Schwachstellen in Splunk SOAR ausnutzen, um Sicherheitsvorkehrungen zu umgehen, um Informationen offenzulegen, um Dateien zu manipulieren, um einen SQL-Injection Angriff durchzuführen, um einen Cross-Site Scripting Angriff durchzuführen, und um beliebigen Programmcode auszuführen.\n\nSplunk SOAR ist eine Sicherheitsautomatisierungs- und Reaktionsplattform, die es Unternehmen ermöglicht, Sicherheitsvorfälle zu orchestrieren und zu automatisieren.","severity":[{"type":"BSI","score":"hoch","source":"WID-SEC-W-2026-2933"}],"affected":[],"product_status":[],"references":[{"type":"WEB","url":"https://wid.cert-bund.de/.well-known/csaf/white/2026/wid-sec-w-2026-2933.json"},{"type":"WEB","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2933"},{"type":"WEB","url":"https://advisory.splunk.com/advisories/SVD-2026-0804"},{"type":"WEB","url":"https://advisory.splunk.com/advisories/SVD-2026-0805"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:63385"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:71179"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:71210"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:59153"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7291610"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7292374"},{"type":"WEB","url":"https://linux.oracle.com/errata/ELSA-2026-604898.html"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7293833"},{"type":"WEB","url":"https://lists.debian.org/debian-security-announce/2026/msg00513.html"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2026:93440"},{"type":"WEB","url":"https://www.ibm.com/support/pages/node/7295132"}]},{"provider":"osv","source_id":"CLSA-2026-1773620207","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1773620207","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:46.836381Z","summary":"TuxCare security update for jspdf (3 CVEs)","details":"TuxCare rebuilt jspdf to address 3 CVEs. Fixed in 3.0.4-tuxcare.6.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.0.4-tuxcare.0"},{"fixed":"3.0.4-tuxcare.6"}]}],"versions":["3.0.4","3.0.4-tuxcare.1","3.0.4-tuxcare.2","3.0.4-tuxcare.3","3.0.4-tuxcare.4","3.0.4-tuxcare.5"],"fixed":["3.0.4-tuxcare.6"],"provider":"osv","source":"CLSA-2026-1773620207","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1773620213","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1773620213","published_at":"2026-08-04T14:52:12Z","modified_at":"2026-10-15T09:47:47.178165Z","summary":"TuxCare security update for jspdf (3 CVEs)","details":"TuxCare rebuilt jspdf to address 3 CVEs. Fixed in 2.5.2-tuxcare.7.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.2-tuxcare.0"},{"fixed":"2.5.2-tuxcare.7"}]}],"versions":["2.5.2","2.5.2-tuxcare.1","2.5.2-tuxcare.2","2.5.2-tuxcare.3","2.5.2-tuxcare.4","2.5.2-tuxcare.5","2.5.2-tuxcare.6"],"fixed":["2.5.2-tuxcare.7"],"provider":"osv","source":"CLSA-2026-1773620213","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1780534264","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1780534264","published_at":"2026-08-04T14:52:35Z","modified_at":"2026-10-15T09:47:50.756486Z","summary":"TuxCare security update for jspdf (12 CVEs)","details":"TuxCare rebuilt jspdf to address 12 CVEs. Fixed in 2.5.1-tuxcare.1.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.5.1-tuxcare.0"},{"fixed":"2.5.1-tuxcare.1"}]}],"versions":["2.5.1"],"fixed":["2.5.1-tuxcare.1"],"provider":"osv","source":"CLSA-2026-1780534264","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"CLSA-2026-1780966320","relation":"upstream","url":"https://osv.dev/vulnerability/CLSA-2026-1780966320","published_at":"2026-08-04T14:52:35Z","modified_at":"2026-10-15T09:47:50.242378Z","summary":"TuxCare security update for jspdf (9 CVEs)","details":"TuxCare rebuilt jspdf to address 9 CVEs. Fixed in 1.4.1-tuxcare.2.","severity":[],"affected":[{"ecosystem":"TuxCare:npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.1-tuxcare.0"},{"fixed":"1.4.1-tuxcare.2"}]}],"versions":["1.4.1","1.4.1-tuxcare.1"],"fixed":["1.4.1-tuxcare.2"],"provider":"osv","source":"CLSA-2026-1780966320","relation":"upstream"}],"product_status":[],"references":[]},{"provider":"cvelistv5","source_id":"CVE-2026-25755","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-25755","license":"CC-BY-4.0","published_at":"2026-02-19T14:41:46.941Z","modified_at":"2026-09-07T12:05:03.219Z","summary":"jsPDF has PDF Object Injection via Unsanitized Input in addJS Method","details":"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.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"CVE-2026-25755"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"redhat-SADP:CVE-2026-25755"}],"affected":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 4.2.0"],"provider":"cvelistv5","source":"CVE-2026-25755","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"}]},{"provider":"nvd","source_id":"CVE-2026-25755","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25755","severity":[],"affected":[{"ecosystem":"NVD","package":"parall:jspdf","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"nvd","source":"CVE-2026-25755","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-9vjf-qc39-jprp","relation":"self","url":"https://osv.dev/vulnerability/GHSA-9vjf-qc39-jprp","license":"CC-BY-4.0","published_at":"2026-02-19T19:32:36Z","modified_at":"2026-09-10T03:50:59.366092Z","summary":"jsPDF has a PDF Object Injection via Unsanitized Input in addJS Method","details":"### 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","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","source":"GHSA-9vjf-qc39-jprp"}],"affected":[{"ecosystem":"npm","package":"jspdf","purl":"pkg:npm/jspdf","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"4.2.0"}]}],"fixed":["4.2.0"],"provider":"osv","source":"GHSA-9vjf-qc39-jprp","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25755"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"}]},{"provider":"redhat-vex","source_id":"CVE-2026-25755","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-25755","license":"CC-BY-4.0","published_at":"2026-02-19T14:41:46.941Z","modified_at":"2026-03-02T13:55:49Z","summary":"jsPDF: PDF object injection via unsanitized input in addJS method","details":"A flaw was found in jsPDF. The addJS method accepts user input without proper sanitization, allowing an attacker to inject arbitrary PDF objects into the document. A specially crafted payload that escapes the JavaScript string delimiter can execute malicious actions or alter the document structure, resulting in arbitrary code execution when a user opens a PDF with a viewer that supports embedded scripts.","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","source":"CVE-2026-25755"},{"type":"Red Hat","score":"Important","source":"CVE-2026-25755"}],"affected":[],"product_status":[{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7110"],"provider":"redhat-vex","source":"CVE-2026-25755"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.8","cpe":"cpe:/a:redhat:advanced_cluster_security:4.8::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25755"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"fixed","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":["RHSA-2026:7128"],"provider":"redhat-vex","source":"CVE-2026-25755"},{"vendor":"Red Hat","product":"Red Hat Advanced Cluster Security 4.9","cpe":"cpe:/a:redhat:advanced_cluster_security:4.9::el8","status":"not_affected","packages":["advanced-cluster-security"],"package_count":1,"fixed":[],"advisories":[],"note":"vulnerable_code_not_present","provider":"redhat-vex","source":"CVE-2026-25755"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25755.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-25755"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440993"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-25755"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25755"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp"}]}],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprp"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437"},{"type":"WEB","url":"https://github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.md"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25755"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25755.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-25755"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2440993"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-25755"}],"sources":[{"provider":"csaf-bsi","source_id":"WID-SEC-W-2026-2933","url":"https://wid.cert-bund.de/portal/wid/securityadvisory?name=WID-SEC-2026-2933","license":"TLP:CLEAR, mirroring permitted","modified_at":"2026-11-02T23:00:00Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1773620207","url":"https://osv.dev/vulnerability/CLSA-2026-1773620207","modified_at":"2026-10-15T09:47:46.836381Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1773620213","url":"https://osv.dev/vulnerability/CLSA-2026-1773620213","modified_at":"2026-10-15T09:47:47.178165Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1780534264","url":"https://osv.dev/vulnerability/CLSA-2026-1780534264","modified_at":"2026-10-15T09:47:50.756486Z","relation":"upstream"},{"provider":"osv","source_id":"CLSA-2026-1780966320","url":"https://osv.dev/vulnerability/CLSA-2026-1780966320","modified_at":"2026-10-15T09:47:50.242378Z","relation":"upstream"},{"provider":"cvelistv5","source_id":"CVE-2026-25755","url":"https://www.cve.org/CVERecord?id=CVE-2026-25755","license":"CC-BY-4.0","modified_at":"2026-09-07T12:05:03.219Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-25755","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25755","relation":"self"},{"provider":"osv","source_id":"GHSA-9vjf-qc39-jprp","url":"https://osv.dev/vulnerability/GHSA-9vjf-qc39-jprp","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:59.366092Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-25755","url":"https://access.redhat.com/security/cve/CVE-2026-25755","license":"CC-BY-4.0","modified_at":"2026-03-02T13:55:49Z","relation":"self"}]}
