CVE-2026-31938
parall jspdf
Patch priority
RegularFix with the next regular update.
- CVSS
- 6.1
- Severity
- 6.1
- EPSS
- 0.3 %
- Percentile
- 27
- Actively exploited
- not known
The traffic light combines CVSS (severity), EPSS (exploitation probability, FIRST) and CISA's KEV catalog. It does not replace your own assessment. More in the glossary
What do I need to do?
in plain wordsWho is affected?
Only those who run parall jspdf. The vendor name tells you whether the product is in use at your place.
How dangerous is it?
- Attackable over the network – including from the internet if the device or service is reachable there.
- No login is needed for it.
- It only works if someone plays along – e.g. opens a link or a file.
What to do?
- Include it in your next regular update.
- The vendor’s advisories (linked below) name the fixed version.
- If there is no update yet: keep the device or service off the internet (no port forwarding) and watch for the vendor’s announcement.
Generated automatically from the CVSS vector, KEV and EPSS – does not replace the vendor’s information. Terms explained
Description
NVDjsPDF 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.
- Vendor / product
- parall jspdf
- Published
- 18.03.2026
- Modified
- 18.08.2026
- CWE
- CWE-79
- Status
- Modified
CVSS v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Vendor updates
2- Red Hat: RHSA-2026:7128 – RHSA-2026:7128 registry.redhat.io/advanced-cluster-security/rhacs-central-db-rhel8@sha256:0fa1b2d7000300a498354f90854e977b1 … 08.04.2026 · Patch day
- Red Hat: RHSA-2026:7110 – RHSA-2026:7110 registry.redhat.io/advanced-cluster-security/rhacs-central-db-rhel8@sha256:8d5b1983394113e7a4cf8029bb50f2530 … 08.04.2026 · Patch day
Sources: NVD (NIST), CISA KEV, EPSS (FIRST.org), vendors and authorities. No warranty.