CVE-2026-31938Parall Jspdf
Media 6.1 Sin autenticación
Seguir: esta CVE · Parall · Parall Jspdf Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 52
- CVSS 3.1
- 6.1
- EPSS
- —
- Requiere autenticación
- No
- Publicada
- 18 mar 2026
- Actualizada
- 18 ago 2026
- Categoría
- Aplicación · Multiplataforma
- Debilidad (CWE)
- CWE-79
- SSVC (CISA)
- Explotación: ninguna · Automatizable: no · Impacto técnico: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Qué pasa
jsPDF is a library to generate PDFs in JavaScript. Prior to version 4.2.1, user control of the `options` argument of the `output` function allows attackers to inject arbitrary HTML (such as scripts) into the browser context the created PDF is opened in. The vulnerability can be exploited in the following scenario: the attacker provides values for the output options, for example via a web interface. These values are then passed unsanitized (automatically or semi-automatically) to the attack victim. The victim creates and opens a PDF with the attack vector using one of the vulnerable method overloads inside their browser. The attacker can thus inject scripts that run in the victims browser context and can extract or modify secrets from this context. The vulnerability has been fixed in jspdf@4.2.1. As a workaround, sanitize user input before passing it to the output method.
Qué hacer
- Aplica la actualización de seguridad del fabricante para Jspdf.
- Se explota sin autenticación: si no puedes parchear ya, limita el acceso desde Internet al servicio afectado.
Paquetes afectados
| Ecosistema | Paquete | Versiones afectadas | Corregida en | Cómo actualizar |
|---|---|---|---|---|
| npm | jspdf |
< 4.2.1 |
4.2.1 |
npm install jspdf@4.2.1 |
Según OSV / GitHub Advisories (GHSA-wfv2-pwc8-crg5). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados (CPE)
| Fabricante | Producto | Versiones |
|---|---|---|
| parall | jspdf | < 4.2.1 |
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.
- github.com Patch
- github.com Product Release Notes
- github.com Mitigation Vendor Advisory
- access.redhat.com
- access.redhat.com
- access.redhat.com
- bugzilla.redhat.com
- security.access.redhat.com