CVE-2026-25940
HIGHjspdf < 4.2.0 - Arbitrary PDF Object Injection via Acroform Module
Title source: llmExploitation Summary
EIP tracks 1 public exploit for CVE-2026-25940. PoCs published by dajneem23.
AI-analyzed exploit summary This repository contains a functional PoC for CVE-2026-25940, exploiting a vulnerability in PDF viewers (e.g., Foxit) via crafted AcroForm radio button appearances that trigger embedded JavaScript execution. The PoC includes both a Node.js generator and a browser-based viewer harness to demonstrate the exploit.
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)
This repository contains a functional PoC for CVE-2026-25940, exploiting a vulnerability in PDF viewers (e.g., Foxit) via crafted AcroForm radio button appearances that trigger embedded JavaScript execution. The PoC includes both a Node.js generator and a browser-based viewer harness to demonstrate the exploit.
References (3)
Scores
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N