CVE-2026-25755: parall jspdf Code Injection
Vulnerability summary
CVE-2026-25755 is a high (CVSS 8.8) Code Injection vulnerability in parall jspdf. EPSS estimates a 0.92% chance of exploitation in the next 30 days, higher than 59.5% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 19-02-2026PublishedVulnerability first disclosed.
- 07-09-2026Last modifiedVulnerability information updated.
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 jspdf@4.2.0. As a workaround, escape parentheses in user-provided JavaScript code before passing them to the `addJS` method.
CVSS metrics
5 scores · 5 sources · 1 version- CVE.orgCNA8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · WolfiEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · NpmEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
- OSV · ChainguardEcosystem advisory · calculated8.1HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:NDiffers
EPSS trend
Probability
0.92%
Chance of exploitation in the next 30 days
Percentile
60%
Versus all other CVEs
30-day change
+0.07 pp
From 0.85% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundCves
Maturity: poc
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-116Improper Encoding or Escaping of OutputThe product prepares a structured message for communication with another component, but encoding or escaping of the data is either missing or done incorrectly. As a result, the intended structure of the message is not preserved.
Affected systems
Chainguard50 products
- opensearch-dashboards-2-alerting-dashboards-plugin< 2.19.4-r10
- opensearch-dashboards-2-anomaly-detection-dashboards-plugin< 2.19.4-r10
- opensearch-dashboards-2-dashboards-maps< 2.19.4-r10
- opensearch-dashboards-2-dashboards-notifications< 2.19.4-r10
- opensearch-dashboards-2-dashboards-observability< 2.19.4-r10
Wolfi12 products
- opensearch-dashboards-3-alerting-dashboards-plugin< 3.5.0-r1
- opensearch-dashboards-3-anomaly-detection-dashboards-plugin< 3.5.0-r1
- opensearch-dashboards-3-dashboards-maps< 3.5.0-r1
- opensearch-dashboards-3-dashboards-notifications< 3.5.0-r1
- opensearch-dashboards-3-dashboards-observability< 3.5.0-r1
Npm1 product
- jspdf< 4.2.0
Parall1 product
- jspdf< 4.2.0
Parallax1 product
- jspdf< 4.2.0
5 vendors · 65 products
References
12 links- github.com/parallax/jsPDF/security/advisories/GHSA-9vjf-qc39-jprpX Refsource CONFIRMAdvisoryWEBVendor Advisory
- github.com/parallax/jsPDF/commit/56b46d45b052346f5995b005a34af5dcdddd5437X Refsource MISCFIXWEBPatch
- github.com/ZeroXJacks/CVEs/blob/main/2026/CVE-2026-25755.mdX Refsource MISCWEBExploitMitigationThird Party Advisory
Show all 12 references
- github.com/parallax/jsPDFPACKAGE