CVE-2026-84942

Stored Cross-Site Scripting via Vega Expression Function Bypass in OpenSearch Dashboards

State
Published
Severity
6.3 Medium
Published
Sep 8, 2026
Updated
Sep 9, 2026
Reserved
Sep 2, 2026

Read the record on cve.org

Description

Improper input validation in the Vega expression function implementation in OpenSearch Dashboards allows a remote authenticated actor with dashboard write permissions to execute arbitrary JavaScript in the context of other users' browser sessions by saving a crafted Vega visualization. The checkForFunctionProperty validation routine failed to recurse into arrays of objects, allowing a function property nested inside an array to bypass validation.

Scores

CVSSScoreVectorSource
4.06.3 MediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:NAMZN
3.18.7 HighCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:NAMZN

Weaknesses

  • CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')

Affected Products

ProductVersions
Amazon OpenSearch ServiceAWS
  • v2.3.0 through v3.5.0Not affected
OpenSearch DashboardsOpenSearch
  • v2.0.0 through v3.5.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.