CVE-2023-0594

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.

Published: 2023-03-01 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2023-0594 is rated Moderate Risk (58.2/100): CVSS High severity, with high exploitation likelihood (EPSS 36.65%, 97th percentile). Core evidence: EPSS ranks this CVE among the most likely to be exploited in the near term. Mandatory action: High exploitation likelihood—assess exposure and prioritize remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2023-0594

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-04-21 48.82% 36.65% -12.18%
2 2026-03-19 45.61% 48.82% +3.21%
3 2026-03-04 45.61%

Full EPSS history (27 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2023-0594

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
7.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.1 5.2 [email protected]
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:C)
Breaking this can reach past the original component and bite other resources—bigger blast radius.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
2.3 2.7 [email protected]

Weakness enumeration for CVE-2023-0594

GitHub Security Advisory for CVE-2023-0594

GHSA-xw5p-hw8j-xg4q · Severity: medium · Ecosystem: go — Grafana vulnerable to Cross-site Scripting

OS Trackers for CVE-2023-0594

vendor priority summary link
alpine medium CVE-2023-0594: 1 source package rows (grafana); 17 state rows across 3 repos (3.17-community, 3.22-community, edge-community); fixed 0, open 17. https://security.alpinelinux.org/vuln/CVE-2023-0594
redhat high https://access.redhat.com/security/cve/CVE-2023-0594
suse high CVE-2023-0594 severity important: SUSE including 53 source package names (8.5.22.3.4.77:grafana-8.5.22-150200.3.38.1, ansible-2.9.27-159000.3.9.1, …), 68 product×package rows across 19 product lines (Container ses/7.1/ceph/grafana, HPE Helion OpenStack 8, … (19 product lines)): Fixed 63, Known Not Affected 5. https://www.suse.com/security/cve/CVE-2023-0594/
ubuntu medium CVE-2023-0594 medium priority: Ubuntu including 1 source packages (grafana), 9 status rows across 9 suites (focal, jammy, mantic, noble, oracular, plucky, questing, upstream, xenial): DNE 7, needs-triage 2. https://ubuntu.com/security/CVE-2023-0594

Affected software / configurations for CVE-2023-0594

Vendor Product Version Raw CPE
grafana grafana >= 7.0.0, < 8.5.21 cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
grafana grafana >= 9.2.0, < 9.2.13 cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
grafana grafana >= 9.3.0, < 9.3.8 cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*

References for CVE-2023-0594

cvelogic Threat Intelligence