CVE-2026-25940: parallax jsPDF · Improper Encoding or Escaping of Output
Affects parallax jsPDFSource CVE Database V5
Not known to be exploited · CVSS 8.1 High : upgrade to 4.2.0 soon.
Data as of 21 Nov 2026, 17:35 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 44% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.2.0
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Feb 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: evidence found.
Public exploit code: GitHub proofs of concept
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), GitHub proofs of concept, the Metasploit, Exploit-DB and nuclei-templates index as of 21 Nov 2026.
What to do
Upgrade parallax jsPDF to 4.2.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| parallaxjsPDF | Affected
| Fixed in
|
AI-suggested
A fix is available in jsPDF version 4.2.0. Users should upgrade to this version to remediate the vulnerability. Until upgrading, sanitize all user-provided input before passing it to the AcroformChildClass.appearanceState property or other related API members. Additionally, avoid opening PDF documents from untrusted or unknown sources to reduce risk.
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.
References
- github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m (opens in a new tab)
- github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375 (opens in a new tab)
- github.com/parallax/jsPDF/releases/tag/v4.2.0 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-25940 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2441016 (opens in a new tab)
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-25940.json (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7110 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:7128 (opens in a new tab)