CVE-2023-0507
Fixed in a distro release EPSS 15%CVSS 7.3
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.
Products: grafana, Grafana Enterprise
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/grafana/grafana | 8.5.21 |
| Go | github.com/grafana/grafana | 9.2.13 |
| Go | github.com/grafana/grafana | 9.3.8 |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| SUSE:Linux Enterprise Module for Package Hub 15 SP4 | grafana | 8.5.22-150200.3.38.1 |
| SUSE:Manager Client Tools 12 | grafana | 8.5.22-1.45.1 |
| SUSE:Manager Client Tools 12-BETA | golang-github-QubitProducts-exporter_exporter | 0.4.0-4.6.2 |
| SUSE:Manager Client Tools 12-BETA | golang-github-boynux-squid_exporter | 1.6-4.9.2 |
| SUSE:Manager Client Tools 12-BETA | golang-github-lusitaniae-apache_exporter | 1.0.0-4.12.4 |
| SUSE:Manager Client Tools 12-BETA | golang-github-prometheus-alertmanager | 0.26.0-4.12.4 |
| SUSE:Manager Client Tools 12-BETA | golang-github-prometheus-node_exporter | 1.5.0-4.15.4 |
| SUSE:Manager Client Tools 12-BETA | golang-github-prometheus-prometheus | 2.45.0-4.33.3 |
| SUSE:Manager Client Tools 12-BETA | golang-github-prometheus-promu | 0.14.0-4.12.2 |
| SUSE:Manager Client Tools 12-BETA | grafana | 9.5.8-4.21.2 |
| SUSE:Manager Client Tools 12-BETA | kiwi-desc-saltboot | 0.1.1687520761.cefb248-4.15.2 |
| SUSE:Manager Client Tools 12-BETA | mgr-push | 5.0.1-4.21.4 |
| SUSE:Manager Client Tools 12-BETA | prometheus-blackbox_exporter | 0.24.0-3.6.3 |
| SUSE:Manager Client Tools 12-BETA | prometheus-postgres_exporter | 0.10.1-3.6.4 |
| SUSE:Manager Client Tools 12-BETA | python-hwdata | 2.3.5-15.12.2 |
| SUSE:Manager Client Tools 12-BETA | rhnlib | 5.0.1-24.30.3 |
| SUSE:Manager Client Tools 12-BETA | spacecmd | 5.0.1-41.42.3 |
| SUSE:Manager Client Tools 12-BETA | supportutils-plugin-salt | 1.2.2-9.9.2 |
| SUSE:Manager Client Tools 12-BETA | supportutils-plugin-susemanager-client | 5.0.1-9.15.2 |
| SUSE:Manager Client Tools 12-BETA | system-user-grafana | 1.0.0-3.7.2 |
| SUSE:Manager Client Tools 12-BETA | system-user-prometheus | 1.0.0-3.7.2 |
| SUSE:Manager Client Tools 12-BETA | uyuni-common-libs | 5.0.1-3.33.3 |
| SUSE:Manager Client Tools 15 | grafana | 8.5.22-150000.1.45.1 |
| SUSE:Manager Client Tools 15-BETA | ansible | 2.9.27-159000.3.9.1 |
| SUSE:Manager Client Tools 15-BETA | dracut-saltboot | 0.1.1681904360.84ef141-159000.3.30.1 |
| SUSE:Manager Client Tools 15-BETA | golang-github-QubitProducts-exporter_exporter | 0.4.0-159000.4.6.1 |
| SUSE:Manager Client Tools 15-BETA | golang-github-boynux-squid_exporter | 1.6-159000.4.9.1 |
| SUSE:Manager Client Tools 15-BETA | golang-github-lusitaniae-apache_exporter | 1.0.0-159000.4.12.1 |
| SUSE:Manager Client Tools 15-BETA | golang-github-prometheus-prometheus | 2.45.0-159000.6.33.1 |
| SUSE:Manager Client Tools 15-BETA | grafana | 9.5.8-159000.4.24.1 |
| SUSE:Manager Client Tools 15-BETA | mgr-push | 5.0.1-159000.4.21.1 |
| SUSE:Manager Client Tools 15-BETA | prometheus-blackbox_exporter | 0.24.0-159000.3.6.1 |
| SUSE:Manager Client Tools 15-BETA | prometheus-postgres_exporter | 0.10.1-159000.3.6.1 |
| SUSE:Manager Client Tools 15-BETA | python-hwdata | 2.3.5-159000.5.13.1 |
| SUSE:Manager Client Tools 15-BETA | python-pyvmomi | 6.7.3-159000.3.6.1 |
| SUSE:Manager Client Tools 15-BETA | rhnlib | 5.0.1-159000.6.30.1 |
| SUSE:Manager Client Tools 15-BETA | spacecmd | 5.0.1-159000.6.42.1 |
| SUSE:Manager Client Tools 15-BETA | spacewalk-client-tools | 5.0.1-159000.6.48.1 |
| SUSE:Manager Client Tools 15-BETA | supportutils-plugin-salt | 1.2.2-159000.5.9.1 |
| SUSE:Manager Client Tools 15-BETA | supportutils-plugin-susemanager-client | 5.0.1-159000.6.15.1 |
| SUSE:Manager Client Tools 15-BETA | uyuni-common-libs | 5.0.1-159000.3.33.1 |
| SUSE:Manager Client Tools 15-BETA | uyuni-proxy-systemd-services | 5.0.1-159000.3.9.1 |
| SUSE:Manager Client Tools Beta for SLE Micro 5 | dracut-saltboot | 0.1.1681904360.84ef141-159000.3.30.1 |
| SUSE:Manager Client Tools Beta for SLE Micro 5 | golang-github-QubitProducts-exporter_exporter | 0.4.0-159000.4.6.1 |
| SUSE:Manager Client Tools Beta for SLE Micro 5 | prometheus-blackbox_exporter | 0.24.0-159000.3.6.1 |
| SUSE:Manager Client Tools Beta for SLE Micro 5 | uyuni-proxy-systemd-services | 5.0.1-159000.3.9.1 |
| Ubuntu:16.04:LTS | grafana | no fix |
| openSUSE:Leap 15.4 | grafana | 8.5.22-150200.3.38.1 |