All vulnerabilities

Servers and applications

CVE-2022-31097

Stored XSS in Unified Alerting

Severity
High 8.7
Published
14 Jul 2022
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
8.3.10, 8.4.10, 8.5.9, 9.0.3
Also known as
GHSA-vw7q-p2qg-4m5f
Sources
NVD, Project advisories (GitHub)

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,…

Affected software

SoftwareAffected versions
GrafanaServers and applications · cpe:a:grafana:grafana
  • From 8.0.0 before 8.3.10
  • From 8.4.0 before 8.4.10
  • From 8.5.0 before 8.5.9
  • From 9.0.0 before 9.0.3
GrafanaServers and applications · github:grafana/grafana
  • From 8.0 before 8.3.10

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2022-31097
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2022-31097
  • GitHub Advisory Database https://github.com/advisories/GHSA-vw7q-p2qg-4m5f
  • github.com https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f