PT-2026-20852 · Jspdf · Jspdf
Macabely
·
Publicado
2026-02-19
·
Atualizado
2026-02-23
·
CVE-2026-25940
CVSS v3.1
8.1
Alta
| Vetor | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
jsPDF versions prior to 4.2.0
Description
jsPDF is a JavaScript library used to generate PDF documents. Prior to version 4.2.0, the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions, through user-controlled input. This can lead to the execution of these actions when a user interacts with the PDF, such as hovering over a radio option. The vulnerability stems from a lack of sanitization of input passed to the Acroform module's properties and methods.
Recommendations
Versions prior to 4.2.0 should be updated to version 4.2.0 or later. As a workaround, sanitize user input before passing it to the vulnerable API members of the Acroform module.
Exploit
Correção
Improper Encoding or Escaping of Output
Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾
Enumeração de Fraquezas
Identificadores relacionados
Produtos afetados
Jspdf