CVE-2026-25940

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*

History

23 Feb 2026, 18:50

Type Values Removed Values Added
References () https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375 - () https://github.com/parallax/jsPDF/commit/71ad2dbfa6c7c189ab42b855b782620fa8a38375 - Patch
References () https://github.com/parallax/jsPDF/releases/tag/v4.2.0 - () https://github.com/parallax/jsPDF/releases/tag/v4.2.0 - Release Notes
References () https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m - () https://github.com/parallax/jsPDF/security/advisories/GHSA-p5xg-68wr-hm3m - Vendor Advisory
CPE cpe:2.3:a:parall:jspdf:*:*:*:*:*:node.js:*:*
Summary
  • (es) jsPDF es una biblioteca para generar PDFs en JavaScript. Anterior a la versión 4.2.0, el control por parte del usuario de las propiedades y métodos del módulo Acroform permite a los usuarios inyectar objetos PDF arbitrarios, como acciones de JavaScript. Si se le da la posibilidad de pasar entrada no saneada a una de las siguientes propiedades, un usuario puede inyectar objetos PDF arbitrarios, como acciones de JavaScript, que se ejecutan cuando la víctima pasa el cursor sobre la opción de radio. La vulnerabilidad ha sido corregida en jsPDF@4.2.0. Como solución alternativa, sanee la entrada del usuario antes de pasarla a los miembros vulnerables de la API.
First Time Parall
Parall jspdf

19 Feb 2026, 16:27

Type Values Removed Values Added
New CVE

Information

Published : 2026-02-19 16:27

Updated : 2026-02-23 18:50


NVD link : CVE-2026-25940

Mitre link : CVE-2026-25940

CVE.ORG link : CVE-2026-25940


JSON object : View

Products Affected

parall

  • jspdf
CWE
CWE-116

Improper Encoding or Escaping of Output