Skip to main content
← All vulnerabilities
CVE-2022-31097GHSA-VW7Q-P2QG-4M5FBIT-GRAFANA-2022-31097GO-2024-2857

Stored XSS in Grafana's Unified Alerting

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 9.0.3, 8.5.9, 8.4.10, 8.3.10
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated
  4. EPSS reached 10%

    FIRST estimates at least a 10% chance of exploitation in the next 30 days

Affected versions

  • grafana grafana

    From 9.0.0 · fixed in 9.0.3; From 8.5.0 · fixed in 8.5.9; From 8.4.0 · fixed in 8.4.10; From 8.0.0 · fixed in 8.3.10

  • github.com/grafana/grafanaGo

    From 9.0.0 · fixed in 9.0.3

  • github.com/grafana/grafanaGo

    From 8.5.0 · fixed in 8.5.9

  • github.com/grafana/grafanaGo

    From 8.4.0 · fixed in 8.4.10

  • github.com/grafana/grafanaGo

    From 8.0.0 · fixed in 8.3.10

  • github.com/grafana/grafanaGo

    All versions

References 5

GitHub · grafana/grafana

grafana.com

security.netapp.com