CVE-2023-0594: grafana Cross-site Scripting
Vulnerability summary
CVE-2023-0594 is a high (CVSS 7.3) Cross-site Scripting vulnerability in grafana. EPSS estimates a 9.22% chance of exploitation in the next 30 days, higher than 95.3% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 7Timeline
- 01-03-2023PublishedVulnerability first disclosed.
- 28-01-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
4 scores · 4 sources · 1 version- OSV · UbuntuEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
9.22%
Chance of exploitation in the next 30 days
Percentile
95%
Versus all other CVEs
30-day change
0.00 pp
From 9.22% on 21-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Grafana2 products
- grafana≥ 9.0.0, < 9.2.13 | ≥ 7.0.0, < 8.5.21 | ≥ 9.2.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8
- grafana enterprise≥ 7.0.0, < 8.5.21 | ≥ 9.0.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8
Github.com/grafana1 product
- grafana≥ 7.0.0, < 8.5.21 | ≥ 9.0.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8
Ubuntu1 product
- grafanaAll versions (No fix recorded)
3 vendors · 4 products
References
7 links- grafana.com/security/security-advisories/cve-2023-0594/Vendor Advisory
- github.com/grafana/grafanaPACKAGE