{"id":"CVE-2022-31097","url":"https://www.cyber-defence.io/tools/cve/CVE-2022-31097","generatedAt":"2026-11-05T00:06:04.173Z","title":"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.","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.","published":"2022-07-15T12:15:09.000Z","lastModified":"2026-06-17T04:44:47.000Z","status":"Modified","sourceIdentifier":"security-advisories@github.com","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"},"cwe":["CWE-79"],"affected":["grafana/grafana","netapp/e-series performance analyzer"],"epss":{"score":0.7006,"percentile":0.99378,"date":"2026-11-03","history":[{"date":"2026-10-02","score":0.7006,"percentile":0.99361}]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 70.1%, higher than 99% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","tags":["Release Notes","Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","tags":["Release Notes","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","tags":["Release Notes","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","tags":["Release Notes","Vendor Advisory"],"source":"security-advisories@github.com"},{"url":"https://security.netapp.com/advisory/ntap-20220901-0010/","tags":["Third Party Advisory"],"source":"security-advisories@github.com"},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","tags":["Release Notes","Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","tags":["Release Notes","Vendor Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://security.netapp.com/advisory/ntap-20220901-0010/","tags":["Third Party Advisory"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31097","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}