cve.bz

CVE-2022-31097

8.7 highEPSS 70%

High (8.7). EPSS 70% chance of exploitation in the next 30 days. Fixed in github.com/grafana/grafana 8.3.10, 8.4.10, 8.5.9.

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.

Severity

CVSS 3.1

8.7 high
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
EPSS
70% chance of exploitation in the next 30 days; higher than 99% of CVEs (scores of 2026-10-31)
CWE
CWE-79
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vw7q-p2qg-4m5fGogithub.com/grafana/grafana>=9.0.0 <9.0.39.0.3
GHSA-vw7q-p2qg-4m5fGogithub.com/grafana/grafana>=8.5.0 <8.5.98.5.9
GHSA-vw7q-p2qg-4m5fGogithub.com/grafana/grafana>=8.4.0 <8.4.108.4.10
GHSA-vw7q-p2qg-4m5fGogithub.com/grafana/grafana>=8.0.0 <8.3.108.3.10
GO-2024-2857Gogithub.com/grafana/grafanaall versionsno fix published

References

Check your stackJSON