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.
{
"cna_assigner": "AMZN",
"cwe_ids": [
"CWE-79"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/84xxx/CVE-2026-84942.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "v2.0.0"
},
{
"last_affected": "v3.5.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
},
{
"original_tag": "3.6.0",
"range": [
{
"fixed": "47091b2bb937be28e29cde7c3d2c3c9ee6803c27"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "2.19.5",
"range": [
{
"fixed": "bc90b6a50a0989323442aba09ffd2ff270d5340f"
}
],
"source": "REFERENCES_TAG"
}
]
}