{"id":"CVE-2026-84942","state":"PUBLISHED","title":"Stored Cross-Site Scripting via Vega Expression Function Bypass in OpenSearch Dashboards","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.","publishedAt":"2026-09-08T19:41:25.224Z","updatedAt":"2026-09-09T20:51:34.759Z","severity":{"score":6.3,"label":"Medium","version":"4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N","source":"AMZN"},"assigner":"AMZN","products":["AWS Amazon OpenSearch Service","OpenSearch OpenSearch Dashboards"],"affected":[{"vendor":"AWS","product":"Amazon OpenSearch Service","defaultStatus":"unaffected","versions":[{"version":"v2.3.0","status":"unaffected","lessThanOrEqual":"v3.5.0","versionType":"custom"}]},{"vendor":"OpenSearch","product":"OpenSearch Dashboards","defaultStatus":"unaffected","versions":[{"version":"v2.0.0","status":"affected","lessThanOrEqual":"v3.5.0","versionType":"custom"}]}],"references":["https://github.com/opensearch-project/OpenSearch-Dashboards/releases/tag/3.6.0","https://github.com/opensearch-project/OpenSearch-Dashboards/releases/tag/2.19.5","https://aws.amazon.com/security/security-bulletins/2026-102-aws/"],"weaknesses":["CWE-79"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/84xxx/CVE-2026-84942.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-84942","state":"PUBLISHED","datePublished":"2026-09-08T19:41:25.224Z","dateUpdated":"2026-09-09T20:51:34.759Z","assignerShortName":"AMZN","assignerOrgId":"ff89ba41-3aa1-4d27-914a-91399e9639e5","dateReserved":"2026-09-02T16:47:56.353Z"},"containers":{"cna":{"title":"Stored Cross-Site Scripting via Vega Expression Function Bypass in OpenSearch Dashboards","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"AWS","product":"Amazon OpenSearch Service","defaultStatus":"unaffected","versions":[{"version":"v2.3.0","status":"unaffected","lessThanOrEqual":"v3.5.0","versionType":"custom"}]},{"vendor":"OpenSearch","product":"OpenSearch Dashboards","defaultStatus":"unaffected","versions":[{"version":"v2.0.0","status":"affected","lessThanOrEqual":"v3.5.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/opensearch-project/OpenSearch-Dashboards/releases/tag/3.6.0","tags":["patch"]},{"url":"https://github.com/opensearch-project/OpenSearch-Dashboards/releases/tag/2.19.5","tags":["patch"]},{"url":"https://aws.amazon.com/security/security-bulletins/2026-102-aws/","tags":["vendor-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseSeverity":"HIGH","baseScore":8.7,"vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"PASSIVE","vulnConfidentialityImpact":"NONE","subConfidentialityImpact":"HIGH","vulnIntegrityImpact":"NONE","subIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"MEDIUM","baseScore":6.3,"vectorString":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-79","lang":"en","description":"CWE-79 Improper neutralization of input during web page generation ('cross-site scripting')","type":"CWE"}]}],"providerMetadata":{"shortName":"AMZN","orgId":"ff89ba41-3aa1-4d27-914a-91399e9639e5","dateUpdated":"2026-09-08T19:41:25.224Z"},"impacts":[{"capecId":"CAPEC-592","descriptions":[{"lang":"en","value":"CAPEC-592 Stored XSS"}]}],"cpeApplicability":[{"operator":"OR","nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":false,"criteria":"cpe:2.3:a:aws:amazon_opensearch_service:*:*:*:*:*:*:*:*","versionStartIncluding":"v2.3.0","versionEndIncluding":"v3.5.0"}]},{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:opensearch:opensearch_dashboards:*:*:*:*:*:*:*:*","versionStartIncluding":"v2.0.0","versionEndIncluding":"v3.5.0"}]}]}],"source":{"discovery":"UNKNOWN"},"x_generator":{"engine":"Vulnogram 1.0.5"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-84942","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-09-09T20:45:08.722192Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-09T20:51:34.759Z"}}]}}}