CVE-2022-31097
published high CVSS 3.1 · 7.3Stored XSS in Grafana's Unified Alerting
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grafana | — | grafana>= 9.0.0, < 9.0.3 · >= 8.5.0, < 8.5.9 · >= 8.4.0, < 8.4.10 · >= 8.0.0, < 8.3.10 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | grafana | Fixed | 9.0.3-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| Alpine Linux | v3.16 | grafana | Fixed | 8.5.9-r0 | Package fix record |
| Alpine Linux | v3.17 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| Alpine Linux | v3.18 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| Alpine Linux | v3.19 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| Alpine Linux | v3.20 | grafana | Fixed | 9.0.3-r0 | Package fix record |
Show 93 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Alpine Linux | v3.21 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| Alpine Linux | v3.22 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| Alpine Linux | v3.23 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| Alpine Linux | v3.24 | grafana | Fixed | 9.0.3-r0 | Package fix record |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP5 | grafanaaarch64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP5 | grafanappc64le | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP5 | grafanas390x | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | SLE-15-SP5 | grafanax86_64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanaaarch64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanappc64le | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanas390x | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanax86_64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.3 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 8.3.10-150200.3.26.1 | SUSE-SU-2022:3765-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 8.5.13-150200.3.29.5 | SUSE-SU-2022:4428-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | grafanaaarch64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | grafanappc64le | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | grafanas390x | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Leap-15.5 | grafanax86_64 | Advisory build | 9.5.1-150200.3.41.3 | SUSE-SU-2023:2575-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanaaarch64 | Advisory build | 8.3.10-1.1 | OPENSUSE-SU-2024:12260-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 8.3.10-1.1 | OPENSUSE-SU-2024:12260-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 8.3.10-1.1 | OPENSUSE-SU-2024:12260-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 8.3.10-1.1 | OPENSUSE-SU-2024:12260-1 |
| SUSE / openSUSE | SLE-12-SP3 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP4 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-12-SP5 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-1.21.1 | SUSE-SU-2022:3747-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporteraarch64 | Advisory build | 1.3.0-150000.3.18.1 | SUSE-SU-2022:3751-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporterppc64le | Advisory build | 1.3.0-150000.3.18.1 | SUSE-SU-2022:3751-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporters390x | Advisory build | 1.3.0-150000.3.18.1 | SUSE-SU-2022:3751-1 |
| SUSE / openSUSE | SLE-15 | golang-github-prometheus-node_exporterx86_64 | Advisory build | 1.3.0-150000.3.18.1 | SUSE-SU-2022:3751-1 |
| SUSE / openSUSE | SLE-15-SP1 | bindaarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bindppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | binds390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bindx86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-chrootenvaarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-chrootenvppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-chrootenvs390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-chrootenvx86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-develaarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-develppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-devels390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-develx86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-docnoarch | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-utilsaarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-utilsppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-utilss390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | bind-utilsx86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libbind9-1600aarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libbind9-1600ppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libbind9-1600s390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libbind9-1600x86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libdns1605aarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libdns1605ppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libdns1605s390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libdns1605x86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs-develaarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs-develppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs-devels390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs-develx86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs1601aarch64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs1601ppc64le | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs1601s390x | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
| SUSE / openSUSE | SLE-15-SP1 | libirs1601x86_64 | Advisory build | 9.16.6-150000.12.65.1 | SUSE-SU-2023:2578-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.3 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| grafana | grafana | >= 9.0.0, < 9.0.3 (affected)>= 8.5.0, < 8.5.9 (affected)>= 8.4.0, < 8.4.10 (affected)>= 8.0.0, < 8.3.10 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/
- https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/
- https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/
- https://security.netapp.com/advisory/ntap-20220901-0010/
Provider assertions
3GitHub_M · cna
Stored XSS in Grafana's Unified Alerting
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- fdcec38bd5ce2590b4683dc84258b4090e74706249d0df814cb0dcf1e4d4c2c6
- Ingested
- 23 Sep 2026, 08:00:25 UTC
- Source record
- Official CVE record