First published: Wed Jul 06 2022(Updated: )
Grafana is an open-source platform for monitoring and observability. Versions on the 8.x and 9.x branch prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10 are vulnerable to stored cross-site scripting via the Unified Alerting feature of Grafana. An attacker can exploit this vulnerability to escalate privilege from editor to admin by tricking an authenticated admin to click on a link. Versions 9.0.3, 8.5.9, 8.4.10, and 8.3.10 contain a patch. As a workaround, it is possible to disable alerting or use legacy alerting.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Grafana Grafana | >=8.0.0<8.3.10 | |
Grafana Grafana | >=8.4.0<8.4.10 | |
Grafana Grafana | >=8.5.0<8.5.9 | |
Grafana Grafana | >=9.0.0<9.0.3 | |
Netapp E-series Performance Analyzer | ||
redhat/Grafana | <9.0.3 | 9.0.3 |
redhat/Grafana | <8.5.9 | 8.5.9 |
redhat/Grafana | <8.4.10 | 8.4.10 |
redhat/Grafana | <8.3.10 | 8.3.10 |
go/github.com/grafana/grafana | >=8.0.0<8.3.10 | 8.3.10 |
go/github.com/grafana/grafana | >=8.4.0<8.4.10 | 8.4.10 |
go/github.com/grafana/grafana | >=8.5.0<8.5.9 | 8.5.9 |
go/github.com/grafana/grafana | >=9.0.0<9.0.3 | 9.0.3 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2022-31097 is a vulnerability in Grafana that allows for stored cross-site scripting via the Unified Alerting feature.
Versions on the 8.x and 9.x branch prior to 9.0.3, 8.5.9, 8.4.10, and 8.3.10 are affected by CVE-2022-31097.
The severity of CVE-2022-31097 is high with a CVSS score of 8.7.
An attacker can exploit CVE-2022-31097 to escalate privileges and perform stored cross-site scripting attacks.
To mitigate CVE-2022-31097, update Grafana to version 9.0.3, 8.5.9, 8.4.10, or 8.3.10 depending on the branch you are using.