{"id":"CVE-2026-25940","aliases":["GHSA-p5xg-68wr-hm3m"],"summary":"jsPDF's PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton.createOption and \"AS\" property)","published_at":"2026-02-19T15:26:57.645Z","modified_at":"2026-09-10T03:50:35.418196Z","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.005109999794512987,"percentile":0.44328001141548157,"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 properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to one of the following property, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim hovers over the radio option. The vulnerability has been fixed in jsPDF@4.2.0. As a workaround, sanitize user input before passing it to the vulnerable API members.","affected_stack":[],"affected_other":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 4.2.0"],"provider":"cvelistv5","source":"CVE-2026-25940","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-25940","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-p5xg-68wr-hm3m","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-25940"},{"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-25940"},{"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-25940"},{"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-25940"}],"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-25940","relation":"self","url":"https://www.cve.org/CVERecord?id=CVE-2026-25940","license":"CC-BY-4.0","published_at":"2026-02-19T15:26:57.645Z","modified_at":"2026-09-07T12:05:04.658Z","summary":"jsPDF's PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton.createOption and \"AS\" property)","details":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to one of the following property, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim hovers over the radio option. The vulnerability has been fixed in jsPDF@4.2.0. As a workaround, sanitize user input before passing it to the vulnerable API members.","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-25940"},{"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-25940"}],"affected":[{"ecosystem":"CVE","package":"parallax/jsPDF","versions":["< 4.2.0"],"provider":"cvelistv5","source":"CVE-2026-25940","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"}]},{"provider":"nvd","source_id":"CVE-2026-25940","relation":"self","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25940","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-25940","relation":"self"}],"product_status":[],"references":[]},{"provider":"osv","source_id":"GHSA-p5xg-68wr-hm3m","relation":"self","url":"https://osv.dev/vulnerability/GHSA-p5xg-68wr-hm3m","license":"CC-BY-4.0","published_at":"2026-02-19T19:32:48Z","modified_at":"2026-09-10T03:50:35.418196Z","summary":"jsPDF has a PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton.createOption and \"AS\" property)","details":"### Impact\n\nUser control of properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions.\n\nIf given the possibility to pass unsanitized input to the following property, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim hovers over the radio option.\n\n* `AcroformChildClass.appearanceState`\n\nExample attack vector:\n\n```js\nimport { jsPDF } from \"jspdf\"\nconst doc = new jsPDF();\n\nconst group = new doc.AcroFormRadioButton();\ngroup.x = 10; group.y = 10; group.width = 20; group.height = 10;\ndoc.addField(group);\n\nconst child = group.createOption(\"opt1\");\nchild.x = 10; child.y = 10; child.width = 20; child.height = 10;\nchild.appearanceState = \"Off /AA << /E << /S /JavaScript /JS (app.alert('XSS')) >> >>\";\n\ndoc.save(\"test.pdf\");\n```\n\n### Patches\n\nThe vulnerability has been fixed in jsPDF@4.2.0.\n\n### Workarounds\nSanitize user input before passing it to the vulnerable API members.","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-p5xg-68wr-hm3m"}],"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-p5xg-68wr-hm3m","relation":"self"}],"product_status":[],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25940"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375"},{"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-25940","relation":"self","url":"https://access.redhat.com/security/cve/CVE-2026-25940","license":"CC-BY-4.0","published_at":"2026-02-19T15:26:57.645Z","modified_at":"2026-03-03T14:27:53Z","summary":"jsPDF: PDF injection in AcroForm module allows arbitrary JavaScript execution (RadioButton children)","details":"A flaw was found in jsPDF. The properties and methods of the Acroform module accept user input without sanitization, allowing an attacker to inject arbitrary PDF objects, such as JavaScript actions. Specifically, if an attacker can supply a specially crafted input to the AcroformChildClass.appearanceState property, JavaScript actions can be executed when a user opens the generated PDF document and hovers over the radio button.","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-25940"},{"type":"Red Hat","score":"Important","source":"CVE-2026-25940"}],"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-25940"},{"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-25940"},{"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-25940"},{"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-25940"}],"references":[{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25940.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-25940"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2441016"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-25940"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25940"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m"}]}],"references":[{"type":"WEB","url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375"},{"type":"WEB","url":"https://github.com/parallax/jsPDF/releases/tag/v4.2.0"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25940"},{"type":"PACKAGE","url":"https://github.com/parallax/jsPDF"},{"type":"WEB","url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25940.json"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2026-25940"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=2441016"},{"type":"WEB","url":"https://www.cve.org/CVERecord?id=CVE-2026-25940"}],"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-25940","url":"https://www.cve.org/CVERecord?id=CVE-2026-25940","license":"CC-BY-4.0","modified_at":"2026-09-07T12:05:04.658Z","relation":"self"},{"provider":"nvd","source_id":"CVE-2026-25940","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-25940","relation":"self"},{"provider":"osv","source_id":"GHSA-p5xg-68wr-hm3m","url":"https://osv.dev/vulnerability/GHSA-p5xg-68wr-hm3m","license":"CC-BY-4.0","modified_at":"2026-09-10T03:50:35.418196Z","relation":"self"},{"provider":"redhat-vex","source_id":"CVE-2026-25940","url":"https://access.redhat.com/security/cve/CVE-2026-25940","license":"CC-BY-4.0","modified_at":"2026-03-03T14:27:53Z","relation":"self"}]}
