CVE-2022-23552
published high CVSS 3.1 · 7.3Grafana stored XSS in FileUploader component
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| grafana | — | grafana>= 9.0, < 9.2.10 · >= 9.3, < 9.3.4 · >= 8.1, < 8.5.16 | Affected | Not stated | GitHub_M |
| AlmaLinux | 9 | grafana | Advisory build | 9.2.10-7.el9_3.alma.1 | ALSA-2023:6420 |
| Oracle Linux | 9 | grafanaaarch64 | Advisory build | 0:9.2.10-7.el9_3 | ELSA-2023-6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafanaaarch64 | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| SUSE / openSUSE | SLE-15-SP4 | grafanaaarch64 | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| Oracle Linux | 9 | grafanax86_64 | Advisory build | 0:9.2.10-7.el9_3 | ELSA-2023-6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafanappc64le | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafanas390x | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
Show 28 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-9 | grafanasrc | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafanax86_64 | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| SUSE / openSUSE | SLE-15-SP4 | grafanappc64le | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanas390x | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | SLE-15-SP4 | grafanax86_64 | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanaaarch64 | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanappc64le | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanas390x | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | grafanax86_64 | Advisory build | 8.5.20-150200.3.35.1 | SUSE-SU-2023:0821-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanaaarch64 | Advisory build | 8.5.20-1.1 | OPENSUSE-SU-2024:12659-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanappc64le | Advisory build | 8.5.20-1.1 | OPENSUSE-SU-2024:12659-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanas390x | Advisory build | 8.5.20-1.1 | OPENSUSE-SU-2024:12659-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | grafanax86_64 | Advisory build | 8.5.20-1.1 | OPENSUSE-SU-2024:12659-1 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfoaarch64 | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfoppc64le | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfos390x | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debuginfox86_64 | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debugsourceaarch64 | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debugsourceppc64le | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debugsources390x | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| Red Hat Enterprise Linux | RHEL-9 | grafana-debugsourcex86_64 | Advisory build | 9.2.10-7.el9_3 | RHSA-2023:6420 |
| SUSE / openSUSE | SLE-15-SP1 | supportutils-plugin-saltnoarch | Advisory build | 1.2.2-150000.3.13.1 | SUSE-SU-2023:0812-1 |
| SUSE / openSUSE | SLE-15-SP2 | supportutils-plugin-saltnoarch | Advisory build | 1.2.2-150000.3.13.1 | SUSE-SU-2023:0812-1 |
| SUSE / openSUSE | SLE-15-SP3 | supportutils-plugin-saltnoarch | Advisory build | 1.2.2-150000.3.13.1 | SUSE-SU-2023:0812-1 |
| SUSE / openSUSE | SLE-15-SP4 | supportutils-plugin-saltnoarch | Advisory build | 1.2.2-150000.3.13.1 | SUSE-SU-2023:0812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | dracut-saltbootnoarch | Advisory build | 0.1.1674034019.a93ff61-150000.1.47.1 | SUSE-SU-2023:0812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | spacecmdnoarch | Advisory build | 4.3.19-150000.3.95.1 | SUSE-SU-2023:0812-1 |
| SUSE / openSUSE | openSUSE-Leap-15.4 | supportutils-plugin-saltnoarch | Advisory build | 1.2.2-150000.3.13.1 | SUSE-SU-2023:0812-1 |
Description
Grafana is an open-source platform for monitoring and observability. Starting with the 8.1 branch and prior to versions 8.5.16, 9.2.10, and 9.3.4, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible because SVG files weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include either an external URL to a SVG-file containing JavaScript, or use the `data:` scheme to load an inline SVG-file containing JavaScript. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may upgrade to version 8.5.16, 9.2.10, or 9.3.4 to receive a fix.
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, < 9.2.10 (affected)>= 9.3, < 9.3.4 (affected)>= 8.1, < 8.5.16 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
6- https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0
- https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f
- https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a
- https://github.com/grafana/grafana/pull/62143
- https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv
- https://security.netapp.com/advisory/ntap-20230302-0008/
Provider assertions
3GitHub_M · cna
Grafana stored XSS in FileUploader component
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 83d5def7b353c035142ef750b849b8676e2e8686b1156288f481e313f91fc168
- Ingested
- 03 Nov 2026, 23:51:41 UTC
- Source record
- Official CVE record