CVE-2022-31097Stored XSS in Grafana's Unified Alerting
- 7.3HighCVSS base score
- 70.1%Exploitation in 30 daysEPSS · top 0.6% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 58 days later
· 58 days later
Published
- 4 years later
· 4 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
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 (14 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.
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
References5
- 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)
- EUVD EUVD-2024-1819 (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://cveledger.app/cve/CVE-2022-31097)Record last updated .