CVE-2026-31938: fallo crítico en parallax jsPDF
jsPDF has HTML Injection in New Window paths
Publicada el · Actualizada el
Aviso por correo cuando entre en el KEV, tenga PoC pública o suba de nota.
28Vexday Risk Score
Sin señal de explotación. Ningún artefacto público de explotación conocido hasta ahora.
ssvc Trackcvss 9.6epss 0.3%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:L
Productos afectados
parallax · jsPDFCVEs relacionadas — parallax jsPDF
En el mismo producto, de las más peligrosas a las menos.
CVE-2025-68428CRITICALjsPDF has Local File Inclusion/Path Traversal vulnerabilityEPSS 2.2%CVE-2026-25755HIGHjsPDF has PDF Object Injection via Unsanitized Input in addJS MethodEPSS 1.0%CVE-2026-25535HIGHjsPDF Affected by Client-Side/Server-Side Denial of Service via Malicious GIF DimensionsEPSS 0.8%CVE-2025-29907HIGHjsPDF Bypass Regular Expression Denial of Service (ReDoS)EPSS 0.7%CVE-2025-57810HIGHjsPDF Parsing of Corrupt PNGs Leads to Potential Denial of Service (DoS)EPSS 0.7%CVE-2026-24133HIGHjsPDF Affected by Denial of Service (DoS) via Unvalidated BMP Dimensions in BMPDecoderEPSS 0.6%
Referencias
https://access.redhat.com/errata/RHSA-2026:7110https://access.redhat.com/errata/RHSA-2026:7128https://access.redhat.com/security/cve/CVE-2026-31938https://bugzilla.redhat.com/show_bug.cgi?id=2448550https://github.com/parallax/jsPDF/commit/87a40bbd07e6b30575196370670b41f264aa78d7https://github.com/parallax/jsPDF/releases/tag/v4.2.1https://github.com/parallax/jsPDF/security/advisories/GHSA-wfv2-pwc8-crg5https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-31938.json