High severity · published Jul 15, 2022
CVE-2022-31097
Grafana is an open-source platform for monitoring and observability
8.7
CVSS
70.1%
EPSS
No
On KEV
Description
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
Required
Confidentiality
High
Integrity
High
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)70.1% · higher than 99% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GR
Grafana · Grafana
8.0.0 before 8.3.10; 8.4.0 before 8.4.10; 8.5.0 before 8.5.9; 9.0.0 before 9.0.3 · source: NVD
EP
E-series Performance Analyzer · Netapp
All versions, or not specified · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-31097
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-31097
Release Notes
https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f
Release Notes
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/
Release Notes
https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/
Release Notes
https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/
Third Party Advisory
https://security.netapp.com/advisory/ntap-20220901-0010/
More from Grafana
7.5
CVE-2021-43798
Grafana path traversal
7.3
CVE-2021-39226
Snapshot authentication bypass in grafana
9.8
CVE-2025-41115
SCIM provisioning was introduced in Grafana Enterprise and Grafana Cloud in April to improve how organizations manage users and teams in Grafana by introducing automated user…
9.8
CVE-2023-3128
Grafana is validating Azure AD accounts based on the email claim
9.8
CVE-2022-28660
The querier component in Grafana Enterprise Logs 1.1.x through 1.3.x before 1.4.0 does not require authentication when X-Scope-OrgID is used
