CVE-2022-31097 — Grafana is an open-source platform for monitoring and observability
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
Published
2022-07-15T12:10:10.000Z
Last modified
2026-01-28T04:55:34.182Z
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
01What is this vulnerability?
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…
02Affected products
| Vendor | Product | Versions |
|---|
| grafana | grafana | >= 9.0.0, < 9.0.3, >= 8.5.0, < 8.5.9, >= 8.4.0, < 8.4.10, >= 8.0.0, < 8.3.10 |
03Active exploitation status
Not currently listed on the CISA Known Exploited Vulnerabilities (KEV) catalog. EPSS is the best forward-looking signal — see the EPSS row above.
04Recommended remediation
- Patch to a fixed version listed in the vendor advisory (see references below).
- Mitigate with WAF rules, network egress filters, or feature flags where the patch is not yet available.
- Hunt historical logs for exploitation indicators — see Detection signatures below.
05Technical details
For the full vendor write-up, exploit chains, and reference implementations, see the references list in section 09.
06Detection signatures
Ask SARA in chat to draft a starting detection for this CVE in your stack of choice.
07Related CVEs
No directly-cited follow-up CVEs in the KB record for this advisory. The references list in section 09 carries the vendor cross-references.
08Timeline
- Published: 2022-07-15T12:10:10.000Z
- Last modified: 2026-01-28T04:55:34.182Z
09References
- github.com — https://github.com/grafana/grafana/security/advisories/GHSA-vw7q-p2qg-4m5f
- grafana.com — https://grafana.com/docs/grafana/latest/release-notes/release-notes-9-0-3/
- grafana.com — https://grafana.com/docs/grafana/next/release-notes/release-notes-8-4-10/
- grafana.com — https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-9/
- security.netapp.com — https://security.netapp.com/advisory/ntap-20220901-0010/
Want this in your SOAR or SIEM?
SARA's API returns EPSS, CVSS, KEV, and an analyst-grade summary in one call.
Read the API reference →