Vulnerabilities · 2022 · Grafana
CVE-2022-31097
Grafana vulnerability
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 products
Grafana, E-series Performance Analyzer. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Grafana runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/ · Vendor Advisory
- grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/ · Vendor Advisory
- grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/ · Vendor Advisory
- github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f · Third Party Advisory
- security.netapp.com/advisory/ntap-20220901-0010/ · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2022-31097
- grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9
- grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3
- nvd.nist.gov/vuln/detail/CVE-2022-31097
- cve.org/CVERecord?id=CVE-2022-31097
More vulnerabilities in Grafana products
CVE-2025-41115CVE-2025-4123CVE-2024-10452CVE-2024-9264CVE-2024-8996CVE-2024-8975CVE-2024-5526CVE-2024-1442All 84
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.