Arbitrary Code Injection Affecting opensearch-dashboards-3 package, versions <3.5.0-r5


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.83% (54th 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-CHAINGUARDLATEST-OPENSEARCHDASHBOARDS3-15426439
  • published5 Mar 2026
  • disclosed19 Feb 2026

Introduced: 19 Feb 2026

CVE-2026-25755  (opens in a new tab)
CWE-94  (opens in a new tab)
CWE-116  (opens in a new tab)

How to fix?

Upgrade Chainguard opensearch-dashboards-3 to version 3.5.0-r5 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 Chainguard. See How to fix? for Chainguard relevant fixed versions and status.

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 Base Scores

version 3.1