{"api_version":"1","generated_at":"2026-04-23T02:37:19+00:00","cve":"CVE-2022-31097","urls":{"html":"https://cve.report/CVE-2022-31097","api":"https://cve.report/api/cve/CVE-2022-31097.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-31097","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-31097"},"summary":{"title":"CVE-2022-31097","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-07-15 12:15:00","updated_at":"2022-11-23 14:24:00"},"problem_types":["CWE-79"],"metrics":[],"references":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","name":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","refsource":"CONFIRM","tags":[],"title":"Stored XSS in Unified Alerting · Advisory · grafana/grafana · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","name":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","refsource":"MISC","tags":[],"title":"Release notes for Grafana 8.4.10 | Grafana documentation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","refsource":"MISC","tags":[],"title":"Release notes for Grafana 9.0.3 | Grafana documentation","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.netapp.com/advisory/ntap-20220901-0010/","name":"https://security.netapp.com/advisory/ntap-20220901-0010/","refsource":"CONFIRM","tags":[],"title":"July 2022 Grafana Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","refsource":"MISC","tags":[],"title":"404 Page not found | Grafana Labs","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-6/","name":"MISC:https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-6/","refsource":"MITRE","tags":[],"title":"404 Page not found | Grafana Labs","mime":"text/html","httpstatus":"404","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-31097","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-31097","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"31097","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"grafana","cpe5":"grafana","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2022","cve_id":"31097","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netapp","cpe5":"e-series_performance_analyzer","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2022-31097","qid":"502435","title":"Alpine Linux Security Update for grafana"},{"cve":"CVE-2022-31097","qid":"502866","title":"Alpine Linux Security Update for grafana"},{"cve":"CVE-2022-31097","qid":"690903","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for grafana (0c367e98-0415-11ed-a53b-6c3be5272acd)"},{"cve":"CVE-2022-31097","qid":"752731","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2022:3747-1)"},{"cve":"CVE-2022-31097","qid":"752734","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2022:3751-1)"},{"cve":"CVE-2022-31097","qid":"752995","title":"SUSE Enterprise Linux Security Update for grafana (SUSE-SU-2022:4428-1)"},{"cve":"CVE-2022-31097","qid":"753255","title":"SUSE Enterprise Linux Security Update for grafana (SUSE-SU-2022:3765-1)"},{"cve":"CVE-2022-31097","qid":"754116","title":"SUSE Enterprise Linux Security Update for SUSE Manager Client Tools (SUSE-SU-2023:2578-1)"}]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-31097","STATE":"PUBLIC","TITLE":"Stored XSS in Grafana's Unified Alerting"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"grafana","version":{"version_data":[{"version_value":">= 9.0.0, < 9.0.3"},{"version_value":">= 8.5.0, < 8.5.9"},{"version_value":">= 8.4.0, < 8.4.10"},{"version_value":">= 8.0.0, < 8.3.10"}]}}]},"vendor_name":"grafana"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')"}]}]},"references":{"reference_data":[{"name":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","refsource":"CONFIRM","url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f"},{"name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","refsource":"MISC","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/"},{"name":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","refsource":"MISC","url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/"},{"name":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","refsource":"MISC","url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/"},{"refsource":"CONFIRM","name":"https://security.netapp.com/advisory/ntap-20220901-0010/","url":"https://security.netapp.com/advisory/ntap-20220901-0010/"}]},"source":{"advisory":"GHSA-vw7q-p2qg-4m5f","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-07-15 12:15:00","lastModifiedDate":"2022-11-23 14:24:00","problem_types":["CWE-79"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.7,"baseSeverity":"HIGH"},"exploitabilityScore":2.3,"impactScore":5.8}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"9.0.0","versionEndExcluding":"9.0.3","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.5.0","versionEndExcluding":"8.5.9","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.4.0","versionEndExcluding":"8.4.10","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.3.10","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}