8.1

CVE-2026-31898: parall jspdf Improper Encoding or Escaping of Output

CVSS: 8.1v3.1HighModified
AliasesCGA-238w-29cr-7748CGA-2m5g-qq5x-7r49CGA-35p9-mv2v-j5r8
Published 18-03-2026Last modified 07-09-2026

Vulnerability summary

CVE-2026-31898 is a high (CVSS 8.1) Improper Encoding or Escaping of Output vulnerability in parall jspdf. EPSS estimates a 0.64% chance of exploitation in the next 30 days, higher than 49.9% of scored vulnerabilities.

Overall risk
33/100
0100
Medium · default modelHow is this calculated?
CVSS score
8.1/10
010
High · v3.1 (CVE.org)
EPSS score
0.64%
0%100%
Low · +0.29 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 arguments of the `createAnnotation` method allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to the following method, a user can inject arbitrary PDF objects, such as JavaScript actions, which might trigger when the PDF is opened or interacted with the `createAnnotation`: `color` parameter. The vulnerability has been fixed in jsPDF@4.2.1. As a workaround, sanitize user input before passing it to the vulnerable API members.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.64%

Chance of exploitation in the next 30 days

Percentile

50%

Versus all other CVEs

30-day change

+0.29 pp

From 0.36% on 19-09-2026

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

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

12 links
Show all 12 references