CVE-2026-25940

HIGH

jsPDF <4.2.0 - Code Injection

Title source: llm

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.

Exploits (1)

nomisec WORKING POC
by dajneem23 · poc
https://github.com/dajneem23/CVE-2026-25940

Scores

CVSS v3 8.1
EPSS 0.0004
EPSS Percentile 10.7%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N

Details

CWE
CWE-116
Status published
Products (2)
npm/jspdf 0 - 4.2.0npm
parall/jspdf < 4.2.0
Published Feb 19, 2026
Tracked Since Feb 19, 2026