9.6

CVE-2026-31938: parall jspdf Cross-site Scripting

CVSS: 9.6v3.1CriticalModified
AliasesCGA-2867-p6rg-49crCGA-2x9f-g6mx-rmj7CGA-6vgv-fchg-frg6
Published 18-03-2026Last modified 07-09-2026

Vulnerability summary

CVE-2026-31938 is a critical (CVSS 9.6) Cross-site Scripting vulnerability in parall jspdf. EPSS estimates a 0.42% chance of exploitation in the next 30 days, higher than 34.8% of scored vulnerabilities.

Overall risk
70/100
0100
High · default modelHow is this calculated?
CVSS score
9.6/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.42%
0%100%
Low · +0.16 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 0 · Related 1

Timeline

  1. 18-03-2026
    PublishedVulnerability first disclosed.
  2. 07-09-2026
    Last modifiedVulnerability information updated.

Description

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 metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.42%

Chance of exploitation in the next 30 days

Percentile

35%

Versus all other CVEs

30-day change

+0.16 pp

From 0.26% on 19-09-2026

19-09-202619-10-2026
EPSS score
0.42%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Chainguard50 products
  • opensearch-dashboards-2-alerting-dashboards-plugin< 2.19.5-r2
  • opensearch-dashboards-2-anomaly-detection-dashboards-plugin< 2.19.5-r2
  • opensearch-dashboards-2-dashboards-maps< 2.19.5-r2
  • opensearch-dashboards-2-dashboards-notifications< 2.19.5-r2
  • opensearch-dashboards-2-dashboards-observability< 2.19.5-r2
Wolfi12 products
  • opensearch-dashboards-3-alerting-dashboards-plugin< 3.5.0-r9
  • opensearch-dashboards-3-anomaly-detection-dashboards-plugin< 3.5.0-r9
  • opensearch-dashboards-3-dashboards-maps< 3.5.0-r9
  • opensearch-dashboards-3-dashboards-notifications< 3.5.0-r9
  • opensearch-dashboards-3-dashboards-observability< 3.5.0-r9
Npm1 product
  • jspdf< 4.2.1
Parall1 product
Parallax1 product

5 vendors · 65 products

References

11 links
Show all 11 references