CVE Catalog

CVE-2026-25940

HighCVSS 8.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.42%

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

Summary

The jsPDF library prior to version 4.2.0 contains a vulnerability that allows injection of arbitrary PDF objects, including JavaScript actions, through control of Acroform module properties and methods. The attack can be triggered when the victim hovers over a radio option.

Risk Assessment

The risk involves potential execution of malicious JavaScript code in the victim's browser context, which could lead to data theft, session hijacking, or other unauthorized actions.

Recommendation

Immediately update the jsPDF library to version 4.2.0 or later. If an update is not possible, thoroughly sanitize user input before passing it to the vulnerable API members.

Other vulnerabilities in jsPDF

See all
Original NVD description (English source)

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 [email protected]. As a workaround, sanitize user input before passing it to the vulnerable API members.

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