CVE-2022-31097

Stored XSS in Grafana's Unified Alerting

Published Jul 15, 2022 CVSS 3.1 · 7.3 High EPSS 70.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-vw7q-p2qg-4m5f Grafana Stored Cross-site Scripting in Unified Alerting
History
Type Values Removed Values Added
Metrics epss

{'score': 0.50338}

epss

{'score': 0.50566}

Type Values Removed Values Added
Metrics epss

{'score': 0.49086}

epss

{'score': 0.50338}

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Jan 28, 2026, 4:55 AM
Reserved
May 18, 2022, 12:00 AM
Status
Modified
Published
Jul 15, 2022, 12:15 PM
Modified
Jun 17, 2026, 4:44 AM
Severity
Important
Public date
Jul 14, 2022, 12:00 AM