THREAT OPS › Threat News › [NVD] CVE-2026-31938 (CRITICAL 9.6) — 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 e
[NVD] CVE-2026-31938 (CRITICAL 9.6) — 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 e
CVE-2026-31938 CVSS: 9.6 CRITICAL Published: 2026-03-18T04:17:23.507
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 p
MITRE ATT&CK techniques
- JavaScriptT1059.007
Indicators of compromise
- CVE-2026-31938cve
Original source: https://nvd.nist.gov/vuln/detail/CVE-2026-31938