{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-31097","published":"2022-07-15T12:15:08.903000Z","last_modified":"2026-06-17T04:44:47.433000Z","status":"Modified","cvss":{"version":"3.1","score":8.7,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","source":"nvd@nist.gov","primary":true},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"8.0.0","version_end_excluding":"8.3.10"},{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"8.4.0","version_end_excluding":"8.4.10"},{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"8.5.0","version_end_excluding":"8.5.9"},{"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","part":"a","vendor":"grafana","product":"grafana","version_start_including":"9.0.0","version_end_excluding":"9.0.3"},{"criteria":"cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*","part":"a","vendor":"netapp","product":"e-series_performance_analyzer"}],"cpes_truncated":false,"vendors":["grafana","netapp"],"products":["grafana/grafana","netapp/e-series_performance_analyzer"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"epss":{"score":0.01588,"percentile":0.75997,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-vw7q-p2qg-4m5f","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"9.0.0","fixed":"9.0.3"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-vw7q-p2qg-4m5f","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"8.5.0","fixed":"8.5.9"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-vw7q-p2qg-4m5f","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"8.4.0","fixed":"8.4.10"}],"versions":[],"versions_truncated":false},{"advisory":"GHSA-vw7q-p2qg-4m5f","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"8.0.0","fixed":"8.3.10"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2024-2857","ecosystem":"Go","name":"github.com/grafana/grafana","purl":"pkg:golang/github.com/grafana/grafana","ranges":[{"introduced":"0"}],"versions":[],"versions_truncated":false}],"severity":"high","priority_score":52,"links":{"html_es":"/es/cve/CVE-2022-31097/","html_en":"/en/cve/CVE-2022-31097/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31097","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31097"},"untrusted":{"vendor_name":"Grafana","product_name":"Grafana","desc_en":"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":[{"untrusted_vendor":"grafana","untrusted_product":"grafana","versions":[]}],"references":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","tags":["Release Notes","Third Party Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","tags":["Release Notes","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220901-0010/","tags":["Third Party Advisory"]}]}}