← Vulnerability feed

Vulnerability record · CVE-2026-25755 · published 19 February 2026

CVE-2026-25755: Parall jspdf code injection vulnerability

Parall · Jspdf

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in [email protected]. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.

8.8 CVSS 3.1 High EPSS 0.80% · top 45.2% CWE-94 · Code injectionCWE-116 · CWE-116
8.8CVSS 3.1 base score
0.80%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
9References, 1 tagged exploit
18 Aug 2026Last modified by NVD

Description

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delimiter, an attacker can execute malicious actions or alter the document structure, impacting any user who opens the generated PDF. The vulnerability has been fixed in [email protected]. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2026-25755 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

9.2CVE-2025-68428Parall jspdf path traversal vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to version 4.0.0, user control of the first argument of the loadFile method in the node.js b…EPSS 2.2%8.7CVE-2026-25535Parall jspdf uncontrolled resource consumption vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the first argument of the `addImage` method results in denial of s…EPSS 0.92%8.7CVE-2026-24133Parall jspdf allocation without limits vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of the first argument of the addImage method results in denial of ser…EPSS 0.59%8.7CVE-2025-57810Parall jspdf improper input validation vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.2, user control of the first argument of the addImage method results in CPU utilizati…EPSS 0.71%8.7CVE-2025-29907Parall jspdf uncontrolled resource consumption vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 3.0.1, user control of the first argument of the addImage method results in CPU utilizati…EPSS 0.69%8.1CVE-2026-25940Parall jspdf vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of properties and methods of the Acroform module allows users to inje…EPSS 0.63%8.1CVE-2026-24737Parall jspdf expression language injection vulnerabilityjsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, user control of properties and methods of the Acroform module allows users to inje…EPSS 0.55%7.5CVE-2021-23353Parall jspdf vulnerabilityThis affects the package jspdf before 2.3.1. ReDoS is possible via the addImage function.EPSS 2.6%

Source: NIST National Vulnerability Database (record CVE-2026-25755), CISA KEV, FIRST EPSS (scores of 2026-09-26). This page is refreshed as NVD updates the record.