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.
CVE-2026-25940
This high-severity CVE scores 8.1 under a secondary CVSS source (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- High severity, but no confirmed exploitation yet
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 8.1(low)
- EPSS
- 34.6%
- KEV
- Not listed
Published
February 19, 2026
Last Modified
June 30, 2026
Advisory Details (8)
Auto-updated Jun 30, 20262441016 – (CVE-2026-25940) CVE-2026-25940 jsPDF: PDF injection in AcroForm module allows arbitrary JavaScript execution (RadioButton children)
https://bugzilla.redhat.com/show_bug.cgi?id=2441016PDF Injection in AcroForm module allows Arbitrary JavaScript Execution (RadioButton children) · Advisory · parallax/jsPDF · GitHub
https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3mv4.2.0
Patch available: parallax/jsPDF v4.2.0
https://github.com/parallax/jsPDF/releases/tag/v4.2.0commit 71ad2dbfa6c7 (parallax/jsPDF)
Patch available: parallax/jsPDF v4.2.0 (contains commit 71ad2dbfa6c7)
https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375Vendor Advisories for CVE-2026-25940(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(2)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | advanced-cluster-security/rhacs-main-rhel8:1775594119 | 2026-04-08 | redhat |
| redhat | advanced-cluster-security/rhacs-main-rhel8:1775594284 | 2026-04-08 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| jspdf | — | 4.2.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 12× in last 7d / 15× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-07 13:46 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-07-01 15:06 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 04:42 UTCEG score recompute
- 2026-06-30 04:42 UTCVendor advisory
- 2026-06-30 04:31 UTCNVD updatefirst tracked
Related CVEs(same vendor + same CWE)
Same vendor
10 shownredhat
Same CWE
10 shownCWE-116
Frequently asked(5)
What is CVE-2026-25940?
When was CVE-2026-25940 disclosed?
Is CVE-2026-25940 actively exploited?
What is the CVSS score of CVE-2026-25940?
How do I remediate CVE-2026-25940?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-25940
Is Your Infrastructure Affected by CVE-2026-25940?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.