Read the docs
TI-2023-08711 Aliases CVE-2023-22462GHSA-7rqg-hjwc-6mjf

Stored XSS in Grafana Text plugin

Priority LOW 34CWE-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 · High · None
Fix status
Partial Red Hat: 1 fixed, 6 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. On 2023-01-01 during an internal audit of Grafana, a member of the security team found a stored XSS vulnerability affecting the core plugin "Text". The stored XSS vulnerability requires several user interactions in order to be fully exploited. The vulnerability was possible due to React's render cycle that will pass though the unsanitized HTML code, but in the next cycle the HTML is cleaned up and saved in Grafana's database. An attacker needs to have the Editor role in order to change a Text panel to include JavaScript. Another user needs to edit the same Text panel, and click on "Markdown" or "HTML" for the code to be executed. 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. This issue has been patched in versions 9.2.10 and 9.3.4.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01562 75th percentileScored 2026-11-07
Fix Partial grafana (grafana): 9.2.10, 9.3.4github.com/grafana/grafana (Go): 9.2.10, 9.3.4Red Hat: 1 advisoryRed Hat: 1 fixed, 6 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
Grafanagrafana9.2 to before 9.2.10; 9.3 to before 9.3.49.2.10, 9.3.4Patch availableCNA
—github.com/grafana/grafana (Go)9.2.0 to before 9.2.109.2.10Patch availableGHSA-7rqg-hjwc-6mjf
—github.com/grafana/grafana (Go)9.3.0 to before 9.3.49.3.4Patch availableGHSA-7rqg-hjwc-6mjf
  • grafana VendorGrafana Affected 9.2 to before 9.2.10; 9.3 to before 9.3.4 Fixed in 9.2.10, 9.3.4 Patch available CNA
  • github.com/grafana/grafana (Go) Vendor— Affected 9.2.0 to before 9.2.10 Fixed in 9.2.10 Patch available GHSA-7rqg-hjwc-6mjf
  • github.com/grafana/grafana (Go) Vendor— Affected 9.3.0 to before 9.3.4 Fixed in 9.3.4 Patch available GHSA-7rqg-hjwc-6mjf

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:*9.2.0 to before 9.2.10; 9.3.0 to before 9.3.4VulnerableGrafana
  • cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* Versions 9.2.0 to before 9.2.10; 9.3.0 to before 9.3.4 Vulnerable ·Grafana

Remediation

  • Fix · CNA grafana (grafana) Fixed in 9.2.10, 9.3.4
  • Fix · GHSA-7rqg-hjwc-6mjf github.com/grafana/grafana (Go) Fixed in 9.2.10 Advisory →
  • Fix · GHSA-7rqg-hjwc-6mjf github.com/grafana/grafana (Go) Fixed in 9.3.4 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

Vendor assessments

Red Hat

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

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

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-22462
  2. 2026-10-03 Alias added: GHSA-7rqg-hjwc-6mjf

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