CVE-2022-31097

Stored XSS in Grafana's Unified Alerting

HIGH
8.7
CVSS Score
Published: July 15, 2022 at 12:10 PM UTC
Updated: June 17, 2026 at 04:44 AM UTC
2 products affected across 2 vendorsGrafanaE Series Performance Analyzer

Using grafana by grafana?

Get instant alerts when new vulnerabilities affect grafana - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.7
Exploit prediction
EPSS 70%
SSVC
No known exploit

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

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 8.3.10v < 8.4.10v < 8.5.9v < 9.0.38.0.0 ≤ v < 8.3.108.4.0 ≤ v < 8.4.108.5.0 ≤ v < 8.5.99.0.0 ≤ v < 9.0.3
Affected range stops below 8.3.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.0.3, so it looks safe — our inference, not a vendor statement

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
LOW
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card