CVE-2022-31097
Stored XSS in Grafana's Unified Alerting
- Published
- Updated
- Reserved
- Assigned by
- GitHub_M
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High7.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N |
| NVDNVD · Modified | 3.1 | High8.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N |
- EPSS (exploitation in 30 days)
- 70.1% · top 0.6% of all CVEs (7 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.3.
Weakness
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Gogithub.com/grafana/grafanaGHSA-vw7q-p2qg-4m5f (opens in a new tab)
References (5)
- https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/ (opens in a new tab)x_refsource_MISCx_transferred
- https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/ (opens in a new tab)x_refsource_MISCx_transferred
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ (opens in a new tab)x_refsource_MISCx_transferred
- https://security.netapp.com/advisory/ntap-20220901-0010/ (opens in a new tab)x_refsource_CONFIRMx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-vw7q-p2qg-4m5f (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-31097)Record last updated .