Race Condition Affecting opensearch-dashboards-3 package, versions <3.4.0-r2


Severity

Recommended
0.0
medium
0
10

Snyk's Security Team recommends NVD's CVSS assessment. Learn more

Threat Intelligence

EPSS
0.25% (17th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-WOLFILATEST-OPENSEARCHDASHBOARDS3-15408341
  • published5 Mar 2026
  • disclosed2 Feb 2026

Introduced: 2 Feb 2026

CVE-2026-24040  (opens in a new tab)
CWE-362  (opens in a new tab)

How to fix?

Upgrade Wolfi opensearch-dashboards-3 to version 3.4.0-r2 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensearch-dashboards-3 package and not the opensearch-dashboards-3 package as distributed by Wolfi. See How to fix? for Wolfi relevant fixed versions and status.

jsPDF is a library to generate PDFs in JavaScript. Prior to 4.1.0, the addJS method in the jspdf Node.js build utilizes a shared module-scoped variable (text) to store JavaScript content. When used in a concurrent environment (e.g., a Node.js web server), this variable is shared across all requests. If multiple requests generate PDFs simultaneously, the JavaScript content intended for one user may be overwritten by a subsequent request before the document is generated. This results in Cross-User Data Leakage, where the PDF generated for User A contains the JavaScript payload (and any embedded sensitive data) intended for User B. Typically, this only affects server-side environments, although the same race conditions might occur if jsPDF runs client-side. The vulnerability has been fixed in jsPDF@4.1.0.

CVSS Base Scores

version 3.1