Skip to main content
No exploitation reportedFix available

CVE-2022-31097

No exploitation reported by the sources we read.

  • Published2022-07-15
  • Fixed in9.0.3 · 8.5.9 · 8.4.10 · 8.3.10
  • WeaknessCWE-79

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2022-07-1512:15CVE publishedNVD
  2. 2026-10-2319:23EPSS crossed 10 %FIRST EPSS

Observed activity

isMalicious corpus · updated 2026-10-23 18:48 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2022-31097?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2022-31097?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
Grafana
BranchAffectedFixed in
9.0≥ 9.0.0, < 9.0.39.0.3
8.5≥ 8.5.0, < 8.5.98.5.9
8.4≥ 8.4.0, < 8.4.108.4.10
8.x≥ 8.0.0, < 8.3.108.3.10
Netapp e-series performance analyzer
BranchAffectedFixed in
—all versionsno fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • RHSA-2023:3642 Red Hat Product Security3 products fixed

    Red Hat Security Advisory: Red Hat Ceph Storage 6.1 Container security and bug fix update

Full record on NVD

Fix

  1. Update Grafana to 9.0.3 · 8.5.9 · 8.4.10 · 8.3.10
  2. Vendor fix Red Hat Product Security RHSA-2023:3642 · 3 productsFor details on how to apply this update, see Upgrade a Red Hat Ceph Storage cluster using cephadm in the Red Hat Storage Ceph Upgrade Guide.(https://access.redhat.com/documentation/en-us/red_hat_ceph_storage)
  3. Workaround from the vendor Red Hat Product Security RHSA-2023:3642 · 18 productsDisable Unified alerting. https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#unified_alerting

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionnone2026-01-27
  • OpenCVESSVC decisionnone—
  • CNACVSS 3.17.3read 2026-10-23
  • NVDCVSS 3.18.7read 2026-10-23
  • CNAweakness (CWE)CWE-79read 2026-10-23
  • NVDweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score70.1 %read 2026-10-23

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Published
2022-07-15
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2022-31097?

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.

Is CVE-2022-31097 actively exploited?

Active exploitation of CVE-2022-31097 has not been confirmed. Its EPSS score was 70.1% on 2026-10-22, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-31097?

CVE-2022-31097 has a CVSS v3 base score of 8.7 (HIGH severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N.

Running Red Hat Ceph Storage 6.1? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month