Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Parall | Jspdf | < 4.2.0 |
Related Weaknesses (CWE)
References
- https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a3837Patch
- https://github.com/parallax/jsPDF/releases/tag/v4.2.0Release Notes
- https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3mVendor Advisory
FAQ
What is CVE-2026-25940?
CVE-2026-25940 is a vulnerability with a CVSS score of 8.1 (HIGH). 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 action...
How severe is CVE-2026-25940?
CVE-2026-25940 has been rated HIGH with a CVSS base score of 8.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-25940?
Check the references section above for vendor advisories and patch information. Affected products include: Parall Jspdf.