8.7

CVE-2022-31097: Stored XSS in Grafana's Unified Alerting

Modified
AliasesUBUNTU-CVE-2022-31097GHSA-vw7q-p2qg-4m5fBIT-grafana-2022-31097
Published 15-07-2022Last modified 28-01-2026

Vulnerability summary

CVE-2022-31097 is a high (CVSS 8.7) vulnerability in grafana. EPSS estimates a 70.06% chance of exploitation in the next 30 days, higher than 99.3% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 7.3, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
8.7/10
010
High · v3.1 (NVD)
EPSS score
70.06%
0%100%
Critical · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 13 · Related 14

Timeline

  1. 15-07-2022
    PublishedVulnerability first disclosed.
  2. 28-01-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

7 scores · 6 sources · 2 versions

EPSS trend

Probability

70.06%

Chance of exploitation in the next 30 days

Percentile

99%

Versus all other CVEs

30-day change

No change 0.00 pp

From 70.06% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.

Chainguard8 products
  • grafana-fips-11.6All versions (No fix recorded)
  • grafana-fips-12.0< 12.0.10-r6
  • grafana-fips-12.1< 12.1.10.01-r3
  • grafana-fips-12.2All versions (No fix recorded)
  • grafana-fips-12.3All versions (No fix recorded)
Alpine1 product
  • grafana≥ 8.0.0, < 8.5.9-r0 | ≥ 8.0.0, < 9.0.3-r0 | ≥ 8.5.0, < 8.5.9-r0 | ≥ 9.0.0, < 9.0.3-r0
Github.com/grafana1 product
  • 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 | All versions (No fix recorded)
Grafana1 product
  • grafana≥ 8.0.0, < 8.3.10 | ≥ 8.4.0, < 8.4.10 | ≥ 8.5.0, < 8.5.9 | ≥ 9.0.0, < 9.0.3
Netapp1 product
Ubuntu1 product
  • grafanaAll versions (No fix recorded)

6 vendors · 13 products

References

15 links
Show all 15 references