7.3

CVE-2023-0594: grafana Cross-site Scripting

CVSS: 7.3v3.1HighModified
AliasesUBUNTU-CVE-2023-0594GHSA-xw5p-hw8j-xg4qBIT-grafana-2023-0594
Published 01-03-2023Last modified 28-01-2026

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.

Overall risk
31/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.3/10
010
High · v3.1 (CVE.org)
EPSS score
9.22%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 5 · Related 7

Timeline

  1. 01-03-2023
    PublishedVulnerability first disclosed.
  2. 28-01-2026
    Last 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

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

21-09-202621-10-2026
EPSS score
9.22%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected 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