Improper Encoding or Escaping of Output Affecting opensearch-dashboards-2-plugin-dashboards-reporting package, versions <2.19.6.0-r0


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.36% (28th 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-MINIMOSLATEST-OPENSEARCHDASHBOARDS2PLUGINDASHBOARDSREPORTING-17873329
  • published7 Jul 2026
  • disclosed18 Mar 2026

Introduced: 18 Mar 2026

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

How to fix?

Upgrade Minimos:latest opensearch-dashboards-2-plugin-dashboards-reporting to version 2.19.6.0-r0 or higher.

NVD Description

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

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

version 3.1