CVE-2023-0507: grafana Cross-site Scripting
Vulnerability summary
CVE-2023-0507 is a high (CVSS 7.3) Cross-site Scripting vulnerability in grafana. EPSS estimates a 15.46% chance of exploitation in the next 30 days, higher than 96.7% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 5 · Related 5Timeline
- 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 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.
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
15.46%
Chance of exploitation in the next 30 days
Percentile
97%
Versus all other CVEs
30-day change
0.00 pp
From 15.46% 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 | ≥ 8.1.0, < 8.5.21 | ≥ 9.2.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8
- grafana enterprise≥ 8.1.0, < 8.5.21 | ≥ 9.0.0, < 9.2.13 | ≥ 9.3.0, < 9.3.8
Github.com/grafana1 product
- grafana≥ 8.1.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
8 links- grafana.com/security/security-advisories/cve-2023-0507/Vendor Advisory
- github.com/grafana/grafanaPACKAGE