Read the docs
TI-2022-06078 Aliases CVE-2022-21702GHSA-xc3p-28hw-q24g

Cross site scripting in Grafana proxy

Priority MEDIUM 62CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · Low · None
Fix status
Partial Red Hat: 2 fixed, 9 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

Grafana is an open-source platform for monitoring and observability. In affected versions an attacker could serve HTML content thru the Grafana datasource or plugin proxy and trick a user to visit this HTML page using a specially crafted link and execute a Cross-site Scripting (XSS) attack. The attacker could either compromise an existing datasource for a specific Grafana instance or either set up its own public service and instruct anyone to set it up in their Grafana instance. To be impacted, all of the following must be applicable. For the data source proxy: A Grafana HTTP-based datasource configured with Server as Access Mode and a URL set, the attacker has to be in control of the HTTP server serving the URL of above datasource, and a specially crafted link pointing at the attacker controlled data source must be clicked on by an authenticated user. For the plugin proxy: A Grafana HTTP-based app plugin configured and enabled with a URL set, the attacker has to be in control of the HTTP server serving the URL of above app, and a specially crafted link pointing at the attacker controlled plugin must be clocked on by an authenticated user. For the backend plugin resource: An attacker must be able to navigate an authenticated user to a compromised plugin through a crafted link. Users are advised to update to a patched version. There are no known workarounds for this vulnerability.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0234 83rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial grafana (grafana): 7.5.15, 8.3.5github.com/grafana/grafana (Go): 7.5.15, 8.3.5Red Hat: 2 advisoriesRed Hat: 2 fixed, 9 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Grafanagrafana2.0.0-beta1 to before 7.5.15; 8.0.0 to before 8.3.57.5.15, 8.3.5Patch availableCNA
—github.com/grafana/grafana (Go)2.0.0-beta1 to before 7.5.157.5.15Patch availableGHSA-xc3p-28hw-q24g
—github.com/grafana/grafana (Go)8.0.0 to before 8.3.58.3.5Patch availableGHSA-xc3p-28hw-q24g
  • grafana VendorGrafana Affected 2.0.0-beta1 to before 7.5.15; 8.0.0 to before 8.3.5 Fixed in 7.5.15, 8.3.5 Patch available CNA
  • github.com/grafana/grafana (Go) Vendor— Affected 2.0.0-beta1 to before 7.5.15 Fixed in 7.5.15 Patch available GHSA-xc3p-28hw-q24g
  • github.com/grafana/grafana (Go) Vendor— Affected 8.0.0 to before 8.3.5 Fixed in 8.3.5 Patch available GHSA-xc3p-28hw-q24g

CPE configurations NVD · 7

CPEVersionsRoleVendor
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*2.0.1 to before 7.5.15; 8.0.0 to before 8.3.5VulnerableGrafana
cpe:2.3:a:grafana:grafana:2.0.0:beta1:*:*:*:*:*:*2.0.0 beta1VulnerableGrafana
cpe:2.3:a:grafana:grafana:2.0.0:beta3:*:*:*:*:*:*2.0.0 beta3VulnerableGrafana
cpe:2.3:a:netapp:e-series_performance_analyzer:*:*:*:*:*:*:*:*before 3.0VulnerableNetApp
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
  • cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* Versions 2.0.1 to before 7.5.15; 8.0.0 to before 8.3.5 Vulnerable ·Grafana
  • cpe:2.3:a:grafana:grafana:2.0.0:beta1:*:*:*:*:*:* Versions 2.0.0 beta1 Vulnerable ·Grafana
  • cpe:2.3:a:grafana:grafana:2.0.0:beta3:*:*:*:*:*:* Versions 2.0.0 beta3 Vulnerable ·Grafana
  • cpe:2.3:a:netapp:e-series_performance_analyzer:*:*:*:*:*:*:*:* Versions before 3.0 Vulnerable ·NetApp
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject

Remediation

  • Fix · CNA grafana (grafana) Fixed in 7.5.15, 8.3.5
  • Fix · GHSA-xc3p-28hw-q24g github.com/grafana/grafana (Go) Fixed in 7.5.15 Advisory →
  • Fix · GHSA-xc3p-28hw-q24g github.com/grafana/grafana (Go) Fixed in 8.3.5 Advisory →

Red Hat 2 advisories

  • RHSA-2022:8057 Released 2022-11-15 · Red Hat rating Important
    grafana security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 9) grafana-7.5.15-3.el9
  • RHSA-2022:7519 Released 2022-11-08 · Red Hat rating Moderate
    grafana security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) grafana-7.5.15-3.el8

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
OpenShift Service Mesh 2.0AffectedNo fix yet
OpenShift Service Mesh 2.1AffectedNo fix yet
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat Ceph Storage 3AffectedNo fix planned: Out of support scope
Red Hat Ceph Storage 4AffectedNo fix planned: Will not fix
Red Hat Ceph Storage 5AffectedNo fix planned: Will not fix
Red Hat OpenShift Container Platform 3.11AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix yet
Red Hat Storage 3AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:7519
Red Hat Enterprise Linux AppStream (v. 9)Fixed RHSA-2022:8057
Not affected: 3 products
  • Red Hat 3scale API Management Platform 2
  • Red Hat OpenShift GitOps
  • Red Hat build of Quarkus

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-21702
  2. 2026-10-03 Alias added: GHSA-xc3p-28hw-q24g

References

  • TI-2021-16611 Snapshot authentication bypass in grafana KEVCVSS 3.1CRITICAL 9.8
  • TI-2021-19604 Grafana path traversal KEVCVSS 3.1HIGH 7.5
  • TI-2024-08600 Grafana SQL Expressions allow for remote code execution CVSS 4.0CRITICAL 9.4
  • TI-2023-02931 Authentication bypass by spoofing in Grafana CVSS 3.1CRITICAL 9.8
  • TI-2020-10491 The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control… CVSS 3.1HIGH 8.2
  • TI-2025-03662 Open redirect in Grafana CVSS 3.1HIGH 7.6
See all 103 →

Sources