Cross-site Scripting (XSS) Affecting opensearch-dashboards-2 package, versions <2.19.6-r8


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.31% (21st 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-20416070
  • published4 Oct 2026
  • disclosed24 Jul 2026

Introduced: 24 Jul 2026

CVE-2026-66010  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade Chainguard opensearch-dashboards-2 to version 2.19.6-r8 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.

DOMPurify before 3.4.12 fails to execute afterSanitizeElements hook for custom elements allowed via CUSTOM_ELEMENT_HANDLING.tagNameCheck, allowing attributes to bypass application security policies. Attackers can preserve sensitive attributes on custom elements that later re-inject them into innerHTML sinks, creating second-order XSS gadgets.

CVSS Base Scores

version 3.1