CVE Catalog

CVE-2026-24737

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.52%

42th percentile - higher than 42% of all known CVEs

Summary

The jsPDF library prior to version 4.1.0 has a vulnerability that allows injection of arbitrary PDF objects, including JavaScript actions, through user control of Acroform module properties and methods. Attackers can exploit unsanitized input in methods such as AcroformChoiceField.addOption, AcroformChoiceField.setOptions, AcroFormCheckBox.appearanceState, and AcroFormRadioButton.appearanceState.

Risk Assessment

The risk is that a victim opening a crafted PDF document may execute malicious JavaScript code, leading to data theft, malware infection, or other unauthorized actions in the victim's environment.

Recommendation

Immediately update the jsPDF library to version 4.1.0 or later, which includes the fix for this vulnerability. In the meantime, avoid passing unsanitized input to the mentioned methods and properties of the Acroform module.

Other vulnerabilities in jsPDF

See all
Original NVD description (English source)

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 [email protected].

Vulnerability data from NVD (NIST) · CISA KEV · EPSS