Security mailing lists by PureSourceCode

CVE-2023-0507

MEDIUM 5.4CVSS 3.1

Grafana vulnerable to Cross-site Scripting

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.

Published
1 Mar 2023
Last modified
3 Nov 2026
Assigned by
security@grafana.com
NVD status
Modified
Weakness
CWE-79
Also known as
BIT-grafana-2023-0507GHSA-hjv9-hm2f-rpcj
Sources
NVDJSONOSV GHSA-hjv9-hm2f-rpcjJSON

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:*:*:*:*:*:*:*:*
>= 8.1.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 >= 8.1.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:13 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.