XSS in Grafana
CVE-2023-0507
Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible due to map attributions weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include a map attribution containing 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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.155 (96.6th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.3 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N.
Affected products
- Grafana — versions 8.1.0, 9.0.0, 9.3.0
- Grafana Enterprise — versions 8.1.0, 9.0.0, 9.3.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- security@grafana.com (Vendor Advisory)
- security@grafana.com
Frequently asked questions
- What is CVE-2023-0507?
- CVE-2023-0507 is a high-severity vulnerability in Grafana, classified under Cross-site Scripting. CVSS score: 7.3/10. Published 2023-03-01.
- How severe is CVE-2023-0507?
- High severity. CVSS v3 base score is 7.3 out of 10.
- Is CVE-2023-0507 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.