jsPDF has a PDF Injection in AcroFormChoiceField which allows Arbitrary JavaScript Execution

Summary

CVECVE-2026-24737
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-02-02 23:16:08 UTC
Updated2026-07-20 12:18:07 UTC
DescriptionjsPDF 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 [email protected].

Risk And Classification

Primary CVSS: v3.1 8.3 HIGH from ADP

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L

EPSS: 0.005320000 probability, percentile 0.414220000 (date 2026-07-20)

Problem Types: CWE-116 | CWE-917 | CWE-116 CWE-116: Improper Encoding or Escaping of Output | CWE-917 Improper Neutralization of Special Elements used in an Expression Language Statement ('Expression Language Injection')


VersionSourceTypeScoreSeverityVector
3.1ADPCVSS8.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
3.1[email protected]Secondary8.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
3.10b0ca135-0b70-47e7-9f44-1890c2a1c46cSecondary8.3HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L
3.1CNADECLARED8.1HIGHCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:L

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Parall Jspdf All All All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Parallax JsPDF affected < 4.1.0 Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4.8 unaffected 1773235880 * rpm Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4.9 unaffected 1773235860 * rpm Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified
ADP Red Hat Red Hat Advanced Cluster Security 4 Not specified Not specified

References

ReferenceSourceLinkTags
access.redhat.com/security/cve/CVE-2026-24737 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
access.redhat.com/errata/RHSA-2026:4466 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/parallax/jsPDF/commit/da291a5f01b96282545c9391996702cdb8879f79 [email protected] github.com Patch
security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-24737.json 0b0ca135-0b70-47e7-9f44-1890c2a1c46c security.access.redhat.com
access.redhat.com/errata/RHSA-2026:4467 0b0ca135-0b70-47e7-9f44-1890c2a1c46c access.redhat.com
github.com/parallax/jsPDF/releases/tag/v4.1.0 [email protected] github.com Release Notes
bugzilla.redhat.com/show_bug.cgi 0b0ca135-0b70-47e7-9f44-1890c2a1c46c bugzilla.redhat.com
github.com/parallax/jsPDF/security/advisories/GHSA-pqxr-3g65-p328 [email protected] github.com Exploit, Vendor Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Additional Advisory Data

SourceTimeEvent
ADP2026-02-03T00:01:51.004ZReported to Red Hat.
ADP2026-02-02T20:29:05.011ZMade public.

Solutions

ADP: RHSA-2026:4466: Red Hat Advanced Cluster Security 4.8

ADP: RHSA-2026:4467: Red Hat Advanced Cluster Security 4.9

Workarounds

ADP: To mitigate this vulnerability, avoid processing untrusted or unverified PDF documents with applications utilizing the jsPDF library. Ensure that any input provided to jsPDF's AcroForm methods and properties is properly sanitized to prevent the injection of arbitrary PDF objects and JavaScript actions. This operational control reduces the risk of arbitrary JavaScript execution.

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report