CVE-2022-31097 HIGH

CVE-2022-31097: Stored XSS in Grafana's Unified Alerting

Vendor Grafana
Product grafana
Weakness CWE-79 · XSS
Published July 15, 2022
Last update January 28, 2026

CVSS base score

7.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

July 15, 2022 CVE published
January 28, 2026 Record updated

Related vulnerabilities

04Related CVE