CVE-2023-0594
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
01/03/2023
Last modified:
07/11/2023
Description
Grafana is an open-source platform for monitoring and observability. <br />
<br />
Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. <br />
<br />
The stored XSS vulnerability was possible due the value of a span&#39;s attributes/resources were not properly sanitized and this will be rendered when the span&#39;s attributes/resources are expanded.<br />
<br />
An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. <br />
<br />
This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. <br />
<br />
Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix. <br />
<br />
Impact
Base Score 3.x
5.40
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* | 7.0.0 (including) | 8.5.21 (excluding) |
| cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* | 9.2.0 (including) | 9.2.13 (excluding) |
| cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* | 9.3.0 (including) | 9.3.8 (excluding) |
To consult the complete list of CPE names with products and versions, see this page



