CVE-2026-25940
CVSS v3
8.1
HIGH
EPSS Score
0.7 %
exploit probability, as of 2026-10-17
CISA KEV
No
known exploited
Exploitation
—
SSVC status
Get an alert for each new CVE published for jspdf. Watch jspdf in CVE Watch Free account · no credit card
Affected and fixed versions
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- jspdfnpmall versions · fixed in 4.2.0
Vendor advisories
jsPDF: PDF injection in AcroForm module allows arbitrary JavaScript execution (RadioButton children)
Red Hat Security Advisory: RHACS 4.9.5 security and bug fix update
Red Hat Security Advisory: RHACS 4.8.10 security and bug fix update
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 jsPDF@4.2.0. As a workaround, sanitize user input before passing it to the vulnerable API members.
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
- Published
- 2026-02-19
- Last Modified
- 2026-02-23
Frequently asked questions
What is CVE-2026-25940?
Is CVE-2026-25940 actively exploited?
What is the CVSS score for CVE-2026-25940?
Running jspdf? Hear about its next vulnerability
CVE Watch matches each new CVE to the vendors and products you list (vendor and product, not the version) and puts it in your alerts with its KEV and EPSS status.
Already have an account? Open CVE WatchNo credit card required · 50 free checks/month · Free API key
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? CVE Watch alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2025-68428same product
- CVE-2020-7691same product
- CVE-2026-25535same product
- CVE-2020-7690same product
- CVE-2026-25755same productjsPDF has PDF Object Injection via Unsanitized Input in addJS Method
- CVE-2025-57810same product
- CVE-2025-29907same product
- CVE-2026-24133same productjsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoder