{"id":"CVE-2022-31097","aliases":["BIT-grafana-2022-31097","GHSA-vw7q-p2qg-4m5f","GO-2024-2857"],"url":"https://o3.security/vulnerability/CVE-2022-31097","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.","published":"2022-07-15T12:10:10Z","modified":"2026-08-12T03:51:32.744740982Z","cvss":{"score":7.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N"},"epss":{"score":0.68603,"percentile":0.99309,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/grafana/grafana","fixedVersion":"9.0.3"},{"ecosystem":"Go","name":"github.com/grafana/grafana","fixedVersion":"8.5.9"},{"ecosystem":"Go","name":"github.com/grafana/grafana","fixedVersion":"8.4.10"},{"ecosystem":"Go","name":"github.com/grafana/grafana","fixedVersion":"8.3.10"}],"fix":null,"references":[{"type":"WEB","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/"},{"type":"WEB","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/"},{"type":"WEB","url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/31xxx/CVE-2022-31097.json"},{"type":"ADVISORY","url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31097"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20220901-0010/"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:32.744740982Z"}}