Independent & educational platform Not a government body. No link or affiliation with any government organisation. Made for learning only. Test only systems you own or are authorised to test. Become a Partner or Sponsor → Full disclaimer

CVE-2022-23552

medium

Grafana is an open-source platform for monitoring and observability.

Vendor / product: Grafana — grafana

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.

CVSS
5.4
5.4 (CVSS v3.1)
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Severity source: NVD CVSS v3.1 (nvd@nist.gov)
Timeline (UTC)
Published: 2023-01-27 23:15
Modified: 2026-11-03 22:17
NVD status: Modified
Last synced 1 day ago
Verified against the source API 2026-11-03 22:24 UTC
Exploitation
Not listed in CISA KEV (as of last catalog sync)
Absence from KEV does not mean a CVE is not exploited. Exploitation status: unknown (no authoritative evidence in our sources).

Affected products

grafana / grafana ≥8.1.0 <8.5.16, ≥9.0.0 <9.2.10, ≥9.3.0 <9.3.4

Weakness classification (CWE)

Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.

Mitigation & advisories

Patch / mitigation: https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0
Patch / mitigation: https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f
Patch / mitigation: https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a
Patch / mitigation: https://github.com/grafana/grafana/pull/62143
Patch / mitigation: https://github.com/grafana/grafana/commit/1c8a50b36973bd59a1cc5f34c30de8a9a6a431f0
Patch / mitigation: https://github.com/grafana/grafana/commit/8b574e22b53aa4c5a35032a58844fd4aaaa12f5f
Patch / mitigation: https://github.com/grafana/grafana/commit/c022534e3848a5d45c0b3face23b43aa44e4400a
Patch / mitigation: https://github.com/grafana/grafana/pull/62143

References

Data sources

NVD CVE API 2.0 — fetched 2026-11-03 22:24 UTC · record ↗

Learn the basics

Understanding CVEs and CVSS Scores

Related CVEs