{"id":"CVE-2026-24737","published":"2026-02-02T20:29:05Z","modified":"2026-08-18T12:05:36Z","title":"jsPDF has a PDF Injection in AcroFormChoiceField which allows Arbitrary JavaScript Execution","vendor":"parallax","product":"jsPDF","tier":"tail","description":{"text":"jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.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 methods or properties, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim opens the document. The vulnerable API members are AcroformChoiceField.addOption, AcroformChoiceField.setOptions, AcroFormCheckBox.appearanceState, and AcroFormRadioButton.appearanceState. The vulnerability has been fixed in jsPDF@4.1.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00589,"percentile":0.49092,"provenance":"source"},"cwes":[{"id":"CWE-116","name":"Improper Encoding or Escaping of Output"},{"id":"CWE-917","name":"Improper Neutralization of Special Elements used in an Expression Language Statement"}],"references":[{"url":"https://github.com/parallax/jsPDF/security/advisories/GHSA-pqxr-3g65-p328","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/parallax/jsPDF/commit/da291a5f01b96282545c9391996702cdb8879f79","tags":["x_refsource_MISC"]},{"url":"https://github.com/parallax/jsPDF/releases/tag/v4.1.0","tags":["x_refsource_MISC"]},{"url":"https://access.redhat.com/security/cve/CVE-2026-24737","tags":["vdb-entry","x_refsource_REDHAT"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=2436115","tags":["issue-tracking","x_refsource_REDHAT"]},{"url":"https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24737.json","tags":["x_sadp-csaf-vex"]},{"url":"https://access.redhat.com/errata/RHSA-2026:4466","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://access.redhat.com/errata/RHSA-2026:4467","tags":["vendor-advisory","x_refsource_REDHAT"]}],"priority":{"score":15.5,"factors":[{"name":"EPSS percentile","points":9.82},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"parallax","affectedVersions":[{"vendor":"parallax","product":"jsPDF","versions":["< 4.1.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-02-03T15:07:06.608038Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"jspdf","vulnerableRanges":["<4.1.0"],"patched":["4.1.0"],"from":["GHSA-pqxr-3g65-p328"],"provenance":"source"}],"summary":{"text":"jsPDF, a JavaScript library for generating PDFs, fails to sanitize user-supplied input passed to the AcroForm module's AcroformChoiceField.addOption and setOptions methods, and the AcroFormCheckBox and AcroFormRadioButton appearanceState properties. An attacker who can get unsanitized input into one of these members, which requires user interaction with the victim, can inject arbitrary PDF objects such as JavaScript actions that execute when the victim opens the generated document.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:27:11Z"},"euvd":{"id":"EUVD-2026-5297","exploited":false,"provenance":"source"}}