CVE-2023-0594
published 2023-03-01CVE-2023-0594: Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view…
PriorityP432medium5.4CVSS 3.1
AVNACLPRLUIRSCCLILAN
EPSS
9.22%
94.7th percentile
Grafana is an open-source platform for monitoring and observability.
Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization.
The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded.
An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript.
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.
Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.
Affected
10 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| github.com | grafana_grafana | >= 7.0.0 < 8.5.21 | 8.5.21 |
| github.com | grafana_grafana | >= 9.0.0 < 9.2.13 | 9.2.13 |
| github.com | grafana_grafana | >= 9.3.0 < 9.3.8 | 9.3.8 |
| grafana | grafana | >= 7.0.0 < 8.5.21 | 8.5.21 |
| grafana | grafana | >= 9.0.0 < 9.2.13 | 9.2.13 |
| grafana | grafana | >= 9.2.0 < 9.2.13 | 9.2.13 |
| grafana | grafana | >= 9.3.0 < 9.3.8 | 9.3.8 |
| grafana | grafana_enterprise | >= 7.0.0 < 8.5.21 | 8.5.21 |
| grafana | grafana_enterprise | >= 9.0.0 < 9.2.13 | 9.2.13 |
| grafana | grafana_enterprise | >= 9.3.0 < 9.3.8 | 9.3.8 |
CVSS provenance
nvdv3.15.4MEDIUMCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
osv5.4MEDIUM
vendor_redhat7.3HIGH
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2023-0594: Grafana is an open-source platform for monitoring and observability
osv·2023-03-01·CVSS 5.4
CVE-2023-0594 [MEDIUM] CVE-2023-0594: Grafana is an open-source platform for monitoring and observability
Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. 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. Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.
OSV
Grafana vulnerable to Cross-site Scripting
osv·2023-03-01
CVE-2023-0594 [MEDIUM] Grafana vulnerable to Cross-site Scripting
Grafana vulnerable to Cross-site Scripting
Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. 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. Users may upgrade to version 8.5.21, 9.
GHSA
Grafana vulnerable to Cross-site Scripting
ghsa·2023-03-01
CVE-2023-0594 [MEDIUM] CWE-79 Grafana vulnerable to Cross-site Scripting
Grafana vulnerable to Cross-site Scripting
Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript. 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. Users may upgrade to version 8.5.21, 9.
Red Hat
grafana: cross site scripting
vendor_redhat·2023-03-01·CVSS 7.3
CVE-2023-0594 [HIGH] CWE-80 grafana: cross site scripting
grafana: cross site scripting
Grafana is an open-source platform for monitoring and observability.
Starting with the 7.0 branch, Grafana had a stored XSS vulnerability in the trace view visualization.
The stored XSS vulnerability was possible due the value of a span's attributes/resources were not properly sanitized and this will be rendered when the span's attributes/resources are expanded.
An attacker needs to have the Editor role in order to change the value of a trace view visualization to contain JavaScript.
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.
Users may upgrade to version 8.5.21, 9.2.13 and 9.3.
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2023-03-01
Published