jsPDF has a PDF Injection in AcroFormChoiceField which allows Arbitrary JavaScript Execution (parallax jsPDF)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.59 % · percentile 48 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
Description
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.
Weaknesses (CWE)
- CWE-116 — Improper Encoding or Escaping of Output
- CWE-917 — Improper Neutralization of Special Elements used in an Expression Language Statement
References
- https://github.com/parallax/jsPDF/security/advisories/GHSA-pqxr-3g65-p328
- https://github.com/parallax/jsPDF/commit/da291a5f01b96282545c9391996702cdb8879f79
- https://github.com/parallax/jsPDF/releases/tag/v4.1.0
- https://access.redhat.com/security/cve/CVE-2026-24737
- https://bugzilla.redhat.com/show_bug.cgi?id=2436115
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24737.json
- https://access.redhat.com/errata/RHSA-2026:4466
- https://access.redhat.com/errata/RHSA-2026:4467
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | GitHub_M |
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | redhat-SADP |
| CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N | NVD · security-advisories@github.com (Secondary) |
| CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L | NVD · 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) |
Advisories
- GHSA-pqxr-3g65-p328 — jsPDF has PDF Injection in AcroFormChoiceField that allows Arbitrary JavaScript Execution
European references
- ENISA EUVD · EUVD-2026-5297
- GCVE · GCVE-0-2026-24737
CERT-FR advisories
- CERTFR-2026-AVI-1056 — Multiples vulnérabilités dans les produits Splunk · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0834 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*< 4.1.0
Affected products
| Product | Versions |
|---|---|
| parallax · jsPDF | affected < 4.1.0 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |