CVE-2022-31097

published 15 Jul 2022 · updated 28 Jan 2026

Stored XSS in Grafana's Unified Alerting

8.3HighCVSS 7.3EPSS 70%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 70%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
grafana>=8.0.0 <8.3.10, >=8.4.0 <8.4.10, >=8.5.0 <8.5.9, >=9.0.0 <9.0.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-31097 severity on Zeptric[![CVE-2022-31097](https://zeptric.io/badge/cve/CVE-2022-31097.svg)](https://zeptric.io/cve/CVE-2022-31097)