Home / Grafana / Grafana / CVE-2023-0507
CVE-2023-0507: is it exploited, and which versions of Grafana are affected and fixed?
CVE-2023-0507 is a cross-site scripting (XSS) vulnerability in Grafana. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:38 UTC). Affected: github.com/grafana/grafana from 8.1.0 before 8.5.21, github.com/grafana/grafana from 9.0.0 before 9.2.13 and github.com/grafana/grafana from 9.3.0 before 9.3.8 (GitHub advisory GHSA-hjv9-hm2f-rpcj). Fixed in 8.5.21, 9.2.13 and 9.3.8 (GitHub advisory GHSA-hjv9-hm2f-rpcj). Severity: High (7.3, CVSS 3.1, from GRAFANA).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:38 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:41 UTC.
What is 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.
From the CVE record by GRAFANA, last updated November 3, 2026, 23:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Grafana | Grafana | from 8.1.0 before 8.5.21 from 9.0.0 before 9.2.13 from 9.3.0 before 9.3.8 | 8.5.21, 9.2.13, 9.3.8 |
| Grafana | Grafana Enterprise | from 8.1.0 before 8.5.21 from 9.0.0 before 9.2.13 from 9.3.0 before 9.3.8 | 8.5.21, 9.2.13, 9.3.8 |
As the CVE record by GRAFANA states it, last updated November 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/grafana/grafana | >= 8.1.0, < 8.5.21 | 8.5.21 | GHSA-hjv9-hm2f-rpcj |
| Go | github.com/grafana/grafana | >= 9.0.0, < 9.2.13 | 9.2.13 | GHSA-hjv9-hm2f-rpcj |
| Go | github.com/grafana/grafana | >= 9.3.0, < 9.3.8 | 9.3.8 | GHSA-hjv9-hm2f-rpcj |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: Grafana vulnerable to Cross-site Scripting.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| grafana | grafana | from 8.1.0 before 8.5.21 | application |
| grafana | grafana | from 9.2.0 before 9.2.13 | application |
| grafana | grafana | from 9.3.0 before 9.3.8 | application |
NVD analysis (status Modified), last modified November 3, 2026, 22:17 UTC.
How severe is CVE-2023-0507?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N | GRAFANA |
| Medium 5.4 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-0507 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, January 28, 2026)
- EPSS
- 15.5% probability of exploitation activity in the next 30 days, percentile 96.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://grafana.com/security/security-advisories/cve-2023-0507/
- https://security.netapp.com/advisory/ntap-20230413-0001/
When was it published, and where is the official record?
- Reserved
- January 25, 2023
- Published
- March 1, 2023, 15:35 UTC
- CVE record updated
- November 3, 2026, 23:49 UTC by GRAFANA
- NVD
- Modified, last modified November 3, 2026, 22:17 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:41 UTC; KEV December 3, 2026, 13:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Grafana?
- Dec 7, 2021CVE-2021-43798 grafana: path traversal (reading or writing files outside the intended folder) exploited
- Oct 5, 2021CVE-2021-39226 grafana: authentication bypass (improper authentication) exploited
- Mar 27, 2026CVE-2026-27879 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-28375 Grafana: denial of service (uncontrolled resource consumption)
- Mar 27, 2026CVE-2026-27876 Grafana: code injection (remote code execution)
- Mar 27, 2026CVE-2026-27880 Grafana: out-of-bounds read
- Mar 27, 2026CVE-2026-27877 Grafana: sensitive data stored in clear text
- Feb 25, 2026CVE-2026-21725 Grafana: time-of-check time-of-use race condition
Questions about CVE-2023-0507
Is CVE-2023-0507 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:38 UTC. FIRST's EPSS gives it a 15.5% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Grafana are affected by CVE-2023-0507?
github.com/grafana/grafana from 8.1.0 before 8.5.21, github.com/grafana/grafana from 9.0.0 before 9.2.13 and github.com/grafana/grafana from 9.3.0 before 9.3.8, per the GitHub advisory GHSA-hjv9-hm2f-rpcj. The tables above give every range the sources list.
Which version fixes CVE-2023-0507?
8.5.21, 9.2.13 and 9.3.8, per the GitHub advisory GHSA-hjv9-hm2f-rpcj. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-0507?
High (7.3, CVSS 3.1, from GRAFANA). The severity table above shows each score with its source.
Where is the official record of CVE-2023-0507?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.