{"schema_version":"1.9.0","id":"BIT-grafana-2022-31097","published":"2024-03-06T10:56:47.100Z","modified":"2026-09-08T08:47:51.481018367Z","aliases":["CVE-2022-31097","GHSA-vw7q-p2qg-4m5f","GO-2024-2857"],"summary":"Stored XSS in Grafana's Unified Alerting","details":"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":[{"package":{"name":"grafana","ecosystem":"Bitnami","purl":"pkg:bitnami/grafana"},"ranges":[{"type":"SEMVER","events":[{"introduced":"8.0.0"},{"fixed":"8.3.10"},{"introduced":"8.4.0"},{"fixed":"8.4.10"},{"introduced":"8.5.0"},{"fixed":"8.5.9"},{"introduced":"9.0.0"},{"fixed":"9.0.3"}]}],"database_specific":{"source":"https://github.com/bitnami/vulndb/tree/main/data/grafana/BIT-grafana-2022-31097.json"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}],"references":[{"type":"ADVISORY","url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f"},{"type":"ADVISORY","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/"},{"type":"ADVISORY","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/"},{"type":"ADVISORY","url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220901-0010/"},{"type":"WEB","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31097"}],"database_specific":{"cpes":["cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*"],"severity":"High"}}