Moderate severityNVD Advisory· Published Jul 15, 2022· Updated Jan 28, 2026
Stored XSS in Grafana's Unified Alerting
CVE-2022-31097
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.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/grafana/grafanaGo | >= 9.0.0, < 9.0.3 | 9.0.3 |
github.com/grafana/grafanaGo | >= 8.5.0, < 8.5.9 | 8.5.9 |
github.com/grafana/grafanaGo | >= 8.4.0, < 8.4.10 | 8.4.10 |
github.com/grafana/grafanaGo | >= 8.0.0, < 8.3.10 | 8.3.10 |
Affected products
1Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
11- github.com/advisories/GHSA-vw7q-p2qg-4m5fghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2022-31097ghsaADVISORY
- github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5fghsax_refsource_CONFIRMWEB
- grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9ghsaWEB
- grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/mitrex_refsource_MISC
- grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3ghsaWEB
- grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/mitrex_refsource_MISC
- grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10ghsaWEB
- grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/mitrex_refsource_MISC
- security.netapp.com/advisory/ntap-20220901-0010ghsaWEB
- security.netapp.com/advisory/ntap-20220901-0010/mitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.