HomePentest-Tools.com Logo

Grafana 8.1.0 < 9.2.10, 9.3.0 < 9.3.4 XSS Vulnerability (GHSA-8xmm-x63g-f6xv) CVE-2022-23552

CVSSv3 Score
Vulnerability description

Grafana is prone to a stored cross-site scripting (XSS) vulnerability in the ResourcePicker component.

Risk description

A stored XSS vulnerability is possible due to SVG-files arent properly sanitized and allow 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 either an external URL to a SVG-file containing JavaScript, or use the data: scheme to load an inline SVG-file 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.


Update to version 9.2.10, 9.3.4 or later.

Not available
Detectable with
Network Scanner
Scan engine
Exploitable with Sniper
CVE Published
Jan 27, 2023
Detection added at
Software Type
Not available
Not available
Not available