Security mailing lists by PureSourceCode

CVE-2023-0594

MEDIUM 5.4CVSS 3.1

Grafana vulnerable to Cross-site Scripting

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
1 Mar 2023
Last modified
7 Aug 2026
Assigned by
security@grafana.com
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-grafana-2023-0594GHSA-xw5p-hw8j-xg4q
Sources
NVDJSONOSV GHSA-xw5p-hw8j-xg4qJSON

Scores

SourceScored byVersionScoreVector / decision
NVD security@grafana.com (Secondary) CVSS 3.1 HIGH 7.3 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD grafana grafana
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
>= 7.0.0, < 8.5.21 8.5.21
NVD grafana grafana
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
>= 9.2.0, < 9.2.13 9.2.13
NVD grafana grafana
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*
>= 9.3.0, < 9.3.8 9.3.8
OSV Go github.com/grafana/grafana >= 7.0.0, < 8.5.21 8.5.21
OSV Go github.com/grafana/grafana >= 9.0.0, < 9.2.13 9.2.13
OSV Go github.com/grafana/grafana >= 9.3.0, < 9.3.8 9.3.8

References

History

  • 25 Nov 2026 20:35 UTC · NVD: first stored (published 1 Mar 2023)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Mar 2023)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.