The flaw is in input validation for the Vega expression function implementation in OpenSearch Dashboards. The checkForFunctionProperty routine checked objects but did not recurse into objects contained inside arrays, allowing a function property nested in an array to bypass validation. A remote authenticated actor needs dashboard or visualization write permission to save a crafted Vega visualization; when another user renders that visualization, arbitrary JavaScript can execute in the context of that user's browser session. The fixing change adds array handling and a corresponding test, while the vendor advisory states that the releases also include additional hardening of Vega expression validation. The available evidence does not describe a specific payload, endpoint, abused browser API, or direct server-side code execution path.