Cross-Site Scripting Vulnerability in Grafana
CVE-2025-41117

6.8MEDIUM

Key Information:

Vendor

Grafana

Vendor
CVE Published:
12 February 2026

Key facts: CVE-2025-41117 is a medium severity (CVSS 6.8) vulnerability in grafana/grafana and grafana/grafana-enterprise. No exploitation in the wild or public proof-of-concept has been recorded so far. Its EPSS score is 0.3%, the estimated probability of exploitation in the next 30 days. Fixed in grafana/grafana 12.2.4+security-01, 12.3.2+security-01; grafana/grafana-enterprise 12.2.4+security-01, 12.3.2+security-01.

What is CVE-2025-41117?

CVE-2025-41117 is a cross-site scripting (XSS) vulnerability affecting Grafana, an open-source platform widely used for data visualization and monitoring across various applications. This vulnerability specifically arises from the incorrect rendering of stack traces in Grafana's Explore Traces view, allowing raw HTML to be executed within the user's browser. When malicious JavaScript is injected into the stack trace field, it can lead to unauthorized actions and potential exposure of sensitive information. Organizations utilizing Grafana for monitoring and analytics may find their systems vulnerable to attacks that leverage this flaw, highlighting the need for immediate attention to ensure the integrity and security of their data visualizations.

Potential impact of CVE-2025-41117

  1. Data Exposure: Exploiting this vulnerability could enable attackers to inject malicious scripts, potentially leading to the exfiltration of user credentials or other sensitive information displayed within the Grafana interface.

  2. Session Hijacking: Given that malicious JavaScript can run in the context of the user's session, it could facilitate session hijacking, allowing attackers to impersonate legitimate users and gain unauthorized access to restricted data and features.

  3. Integrity Compromise: An attacker could manipulate the data rendered in Grafana dashboards or applications that rely on Grafana, leading to misinformed decisions based on altered visualizations or metrics, ultimately compromising the operational integrity of the organization.

Affected Version(s)

grafana/grafana 12.2.0 < 12.2.4+security-01

grafana/grafana 12.3.0 < 12.3.2+security-01

grafana/grafana-enterprise 12.2.0 < 12.2.4+security-01

References

  • CVE-2026-19516: Server-Side Request Forgery in mcp-grafana Affects Grafana by Grafana Labs(CRITICAL)
  • CVE-2026-27876: Remote Code Execution Vulnerability in Grafana Enterprise Plugin(CRITICAL)
  • CVE-2025-41115: User Identity Handling Vulnerability in Grafana Enterprise and Cloud(CRITICAL)
  • CVE-2025-4123: Cross-Site Scripting Vulnerability in Grafana by Grafana Labs(HIGH)
  • CVE-2024-9264: Grafana SQL Expressions Vulnerability: Command Injection and Local File Inclusion Risks(CRITICAL)
Browse all analysed vulnerabilities ›

CVSS V3.1

Score:
6.8
Severity:
MEDIUM
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.