Read the docs
TI-2023-00481 Aliases CVE-2023-0507GHSA-hjv9-hm2f-rpcj

Cross-site scripting in Grafana

Priority MEDIUM 50CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
High · High · None
Fix status
Partial Red Hat: 1 fixed, 2 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. Starting with the 8.1 branch, Grafana had a stored XSS vulnerability affecting the core plugin GeoMap. The stored XSS vulnerability was possible due to map attributions weren't properly sanitized and allowed arbitrary JavaScript to be executed in the context of the currently authorized user of the Grafana instance. An attacker needs to have the Editor role in order to change a panel to include a map attribution containing JavaScript. This means that vertical privilege escalation is possible, where a user with Editor role can change to a known password for a user having Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.1546 96th percentileScored 2026-11-07
Fix Partial Grafana (Grafana): 8.5.21, 9.2.13, 9.3.8Grafana Enterprise (Grafana): 8.5.21, 9.2.13, 9.3.8+1 more productRed Hat: 1 advisoryRed Hat: 1 fixed, 2 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

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

Affected products

VendorProductAffected versionsFixed inStatusSource
GrafanaGrafana8.1.0 to before 8.5.21; 9.0.0 to before 9.2.13; 9.3.0 to before 9.3.88.5.21, 9.2.13, 9.3.8Patch availableCNA
GrafanaGrafana Enterprise8.1.0 to before 8.5.21; 9.0.0 to before 9.2.13; 9.3.0 to before 9.3.88.5.21, 9.2.13, 9.3.8Patch availableCNA
—github.com/grafana/grafana (Go)8.1.0 to before 8.5.218.5.21Patch availableGHSA-hjv9-hm2f-rpcj
—github.com/grafana/grafana (Go)9.0.0 to before 9.2.139.2.13Patch availableGHSA-hjv9-hm2f-rpcj
—github.com/grafana/grafana (Go)9.3.0 to before 9.3.89.3.8Patch availableGHSA-hjv9-hm2f-rpcj
  • Grafana VendorGrafana Affected 8.1.0 to before 8.5.21; 9.0.0 to before 9.2.13; 9.3.0 to before 9.3.8 Fixed in 8.5.21, 9.2.13, 9.3.8 Patch available CNA
  • Grafana Enterprise VendorGrafana Affected 8.1.0 to before 8.5.21; 9.0.0 to before 9.2.13; 9.3.0 to before 9.3.8 Fixed in 8.5.21, 9.2.13, 9.3.8 Patch available CNA
  • github.com/grafana/grafana (Go) Vendor— Affected 8.1.0 to before 8.5.21 Fixed in 8.5.21 Patch available GHSA-hjv9-hm2f-rpcj
  • github.com/grafana/grafana (Go) Vendor— Affected 9.0.0 to before 9.2.13 Fixed in 9.2.13 Patch available GHSA-hjv9-hm2f-rpcj
  • github.com/grafana/grafana (Go) Vendor— Affected 9.3.0 to before 9.3.8 Fixed in 9.3.8 Patch available GHSA-hjv9-hm2f-rpcj

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*8.1.0 to before 8.5.21; 9.2.0 to before 9.2.13; 9.3.0 to before 9.3.8VulnerableGrafana
  • cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* Versions 8.1.0 to before 8.5.21; 9.2.0 to before 9.2.13; 9.3.0 to before 9.3.8 Vulnerable ·Grafana

Remediation

  • Fix · CNA Grafana (Grafana) Fixed in 8.5.21, 9.2.13, 9.3.8
  • Fix · CNA Grafana Enterprise (Grafana) Fixed in 8.5.21, 9.2.13, 9.3.8
  • Fix · GHSA-hjv9-hm2f-rpcj github.com/grafana/grafana (Go) Fixed in 8.5.21 Advisory →
  • Fix · GHSA-hjv9-hm2f-rpcj github.com/grafana/grafana (Go) Fixed in 9.2.13 Advisory →
  • Fix · GHSA-hjv9-hm2f-rpcj github.com/grafana/grafana (Go) Fixed in 9.3.8 Advisory →

Red Hat 1 advisory

  • RHSA-2024:0746 Released 2024-02-08 · Red Hat rating Important
    new container image: rhceph-5.3
    • Red Hat Ceph Storage 5.3 Tools rhceph/rhceph-5-dashboard-rhel8, rhceph/rhceph-haproxy-rhel8

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    Grafana, Grafana Enterprise 8.5.21, 9.2.13, 9.3.8

    2 records Highest priority Priority MEDIUM 2 MEDIUM

    Other records, highest priority first

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat Advanced Cluster Management for Kubernetes 2AffectedNo fix yet
Red Hat Enterprise Linux 9AffectedNo fix yet
Red Hat Ceph Storage 5.3 ToolsFixed RHSA-2024:0746
Not affected: 7 products
  • OpenShift Service Mesh 2.1
  • Red Hat Ceph Storage 3
  • Red Hat Ceph Storage 4
  • Red Hat Ceph Storage 5.3 Tools
  • Red Hat Enterprise Linux 8
  • Red Hat OpenShift Container Platform 4
  • Red Hat Storage 3

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-0507
  2. 2026-10-03 Alias added: GHSA-hjv9-hm2f-rpcj
  3. 2026-11-03 CISA SSVC decision points changed

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