CVE Catalog

CVE-2023-0507

HighCVSS 7.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Very high risk
15.46%

97th percentile - higher than 97% of all known CVEs

Summary

Grafana starting from the 8.1 branch had a stored XSS vulnerability affecting the core plugin GeoMap. Map attributions were not properly sanitized, allowing arbitrary JavaScript execution in the context of the currently authorized user. An attacker with the Editor role could change a panel to include malicious JavaScript, enabling privilege escalation to Admin role.

Risk Assessment

A user with the Editor role can take over an admin account, leading to full compromise of the Grafana instance.

Recommendation

Upgrade Grafana to version 8.5.21, 9.2.13, or 9.3.8.

Other vulnerabilities in Grafana

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS