# CVE-2022-23552: Grafana stored XSS in FileUploader component

- Severity: High 7.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.93%, higher than 61% of CVEs (2026-12-01)
- Published: 2023-01-27T22:59:16.675Z
- Modified: 2026-11-03T23:48:16.256Z
- Also known as: BIT-GRAFANA-2022-23552, GHSA-8xmm-x63g-f6xv
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- grafana grafana: >= 9.0, < 9.2.10; >= 9.3, < 9.3.4; >= 8.1, < 8.5.16; from 8.1.0 before 8.5.16; from 9.0.0 before 9.2.10; from 9.3.0 before 9.3.4
- grafana (Bitnami): from 8.1.0 before 8.5.16; from 9.0.0 before 9.2.10; from 9.3.0 before 9.3.4

## Every score

- GitHub_M: CVSS:3.1 7.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating High

## References

- <https://github.com/grafana/grafana/security/advisories/GHSA-8xmm-x63g-f6xv> (advisory, third-party-advisory)
- <https://github.com/grafana/grafana/pull/62143> (advisory, patch, third-party-advisory)
- <https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0> (advisory, patch, third-party-advisory)
- <https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f> (advisory, patch, third-party-advisory)
- <https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a> (advisory, patch, third-party-advisory)
- <https://security.netapp.com/advisory/ntap-20230302-0008/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-23552> (web)

## Sources

- CVE List: [CVE-2022-23552](https://www.cve.org/CVERecord?id=CVE-2022-23552), CVE Terms of Use, modified 2026-11-03
- NVD: [CVE-2022-23552](https://nvd.nist.gov/vuln/detail/CVE-2022-23552), Public domain, modified 2026-11-03
- Bitnami Vulnerability Database: [BIT-GRAFANA-2022-23552](https://osv.dev/vulnerability/BIT-GRAFANA-2022-23552), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2022-23552 · Whole record: https://cve.day/CVE-2022-23552.json · Rebuilt by cve.day 2026-11-25T22:58:18.397Z
