CVE-2024-34342wojtekmaj react-pdf
Alta 7.1 Sin autenticación
Seguir: esta CVE · wojtekmaj · wojtekmaj react-pdf Te avisamos por email o Slack (requiere cuenta).
- Prioridad
- 58
- CVSS 3.1
- 7.1
- EPSS
- 1.2% probabilidad de explotación en 30 días · percentil 68
- Requiere autenticación
- No
- Publicada
- 7 may 2024
- Actualizada
- 17 jun 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:H/PR:N/UI:R/S:U/C:H/I:H/A:L
Qué pasa
react-pdf displays PDFs in React apps. If PDF.js is used to load a malicious PDF, and PDF.js is configured with `isEvalSupported` set to `true` (which is the default value), unrestricted attacker-controlled JavaScript will be executed in the context of the hosting domain. This vulnerability is fixed in 7.7.3 and 8.0.2.
Qué hacer
- Aplica la actualización de seguridad del fabricante para react-pdf.
- 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 | react-pdf |
< 7.7.3 |
7.7.3 |
npm install react-pdf@7.7.3 |
| npm | react-pdf |
≥ 8.0.0 < 8.0.2 |
8.0.2 |
npm install react-pdf@8.0.2 |
Según OSV / GitHub Advisories (GHSA-87hq-q4gp-9wr4). Verifica la versión en tu lockfile antes de actualizar.
Productos afectados
- wojtekmaj · react-pdf
- pdf.js_viewer_project · pdf.js_viewer
Según el CNA que publicó la CVE. NVD todavía no cargó los CPE con versiones.
Fuentes oficiales
Referencias
Enlaces publicados por las fuentes. Ábrelos con criterio.