Improper Encoding or Escaping of Output Affecting opensearch-dashboards-2 package, versions <2.19.4-r10


Severity

Recommended
low

Based on default assessment until relevant scores are available.

Threat Intelligence

EPSS
0.42% (35th 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-OPENSEARCHDASHBOARDS2-15339176
  • published25 Feb 2026
  • disclosed19 Feb 2026

Introduced: 19 Feb 2026

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

How to fix?

Upgrade Chainguard opensearch-dashboards-2 to version 2.19.4-r10 or higher.

NVD Description

Note: Versions mentioned in the description apply only to the upstream opensearch-dashboards-2 package and not the opensearch-dashboards-2 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 properties and methods of the Acroform module allows users to inject arbitrary PDF objects, such as JavaScript actions. If given the possibility to pass unsanitized input to one of the following property, a user can inject arbitrary PDF objects, such as JavaScript actions, which are executed when the victim hovers over the radio option. The vulnerability has been fixed in jsPDF@4.2.0. As a workaround, sanitize user input before passing it to the vulnerable API members.