OpenSearch
cpe:2.3:a:amazon:opensearch:*:*:*:*:*:*:*
- >= 2.18.0, < 2.19.0
A stored cross-site scripting vulnerability has been identified in the OpenSearch Dashboards Reporting plugin, specifically in versions prior to 2.19.0.0. The issue arises because the plugin allows users to inject untrusted HTML, including JavaScript, into report headers and footers. This injected script is executed when the report is viewed, potentially leading to the theft of sensitive information, such as keystrokes or cookies.
Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the report.
To reproduce this vulnerability, create a report in OpenSearch Dashboards Reporting version 2.18.0.0 or earlier. Inject an iframe payload into the header or footer that points to a JavaScript keylogger hosted on a local server. Once the report is saved, the keylogger will be executed when the report is previewed.
Users can upgrade to OpenSearch Dashboards Reporting version 2.19.0.0 or later, where this vulnerability has been fixed.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.