{"id":"ALPINE-CVE-2022-31097","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.","modified":"2026-11-03T07:30:52.037723936Z","published":"2022-07-15T12:15:08.903Z","upstream":["CVE-2022-31097"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2022-31097"}],"affected":[{"package":{"name":"grafana","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"8.5.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}},{"package":{"name":"grafana","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/grafana?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"8.0.0"},{"fixed":"9.0.3-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2022-31097.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N"}]}