{"id":"CVE-2022-31097","sourceIdentifier":"security-advisories@github.com","published":"2022-07-15T12:15:08.903","lastModified":"2026-06-17T04:44:47.433","vulnStatus":"Modified","cveTags":[],"descriptions":[{"lang":"en","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."},{"lang":"es","value":"Grafana es una plataforma de código abierto para la monitorización y la observación. Las versiones de la rama 8.x y 9.x anteriores a 9.0.3, 8.5.6, 8.4.10 y 8.3.10, son vulnerables a un ataque de tipo cross-site scripting almacenado por medio de la función Unified Alerting de Grafana. Un atacante puede explotar esta vulnerabilidad para escalar el privilegio de editor a administrador al engañar a un administrador autenticado para que haga clic en un enlace. Las versiones 9.0.3, 8.5.6, 8.4.10 y 8.3.10 contienen un parche. Como mitigación, es posible deshabilitar las alertas o usar las alertas heredadas"}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"grafana","product":"grafana","versions":[{"version":">= 9.0.0, < 9.0.3","status":"affected"},{"version":">= 8.5.0, < 8.5.9","status":"affected"},{"version":">= 8.4.0, < 8.4.10","status":"affected"},{"version":">= 8.0.0, < 8.3.10","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N","baseScore":7.3,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.1,"impactScore":5.2},{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N","baseScore":8.7,"baseSeverity":"HIGH","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE"},"exploitabilityScore":2.3,"impactScore":5.8}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-01-27T00:00:00+00:00","id":"CVE-2022-31097","options":[{"exploitation":"none"},{"automatable":"no"},{"technicalImpact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-79"}]},{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.0.0","versionEndExcluding":"8.3.10","matchCriteriaId":"38231605-A82E-4D32-893D-69A2FE01F808"},{"vulnerable":true,"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.4.0","versionEndExcluding":"8.4.10","matchCriteriaId":"A5136FB0-D7F8-4BDD-9C70-CB2648065A1F"},{"vulnerable":true,"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"8.5.0","versionEndExcluding":"8.5.9","matchCriteriaId":"7C2FAADE-D9EA-431C-ACFA-9F846F14B5A2"},{"vulnerable":true,"criteria":"cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*","versionStartIncluding":"9.0.0","versionEndExcluding":"9.0.3","matchCriteriaId":"A29E8B3E-D3A9-49A4-ABCD-4E87F8B527DD"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:netapp:e-series_performance_analyzer:-:*:*:*:*:*:*:*","matchCriteriaId":"24B8DB06-590A-4008-B0AB-FCD1401C77C6"}]}]}],"references":[{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","source":"security-advisories@github.com","tags":["Release Notes","Third Party Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","source":"security-advisories@github.com","tags":["Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","source":"security-advisories@github.com","tags":["Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","source":"security-advisories@github.com","tags":["Release Notes","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220901-0010/","source":"security-advisories@github.com","tags":["Third Party Advisory"]},{"url":"https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Third Party Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Release Notes","Vendor Advisory"]},{"url":"https://security.netapp.com/advisory/ntap-20220901-0010/","source":"af854a3a-2127-422b-91ae-364da2661108","tags":["Third Party Advisory"]}]}