Skip to main content

CVE-2025-41117 — Vulnerability in github.com/grafana/grafana

MEDIUM

Grafana has a Cross-site Scripting issue

Published February 12, 2026Updated September 10, 2026Source: OSV

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.35%). Schedule for your next planned update.

Does your project use an affected github.com/grafana/grafana version?

Paste your go.sum to check it for CVE-2025-41117 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my go.sum

Summary

Stack traces in Grafana's Explore Traces view can be rendered as raw HTML, and thus inject malicious JavaScript in the browser. This would require malicious JavaScript to be entered into the stack trace field.

Only datasources with the Jaeger HTTP API appear to be affected; Jaeger gRPC and Tempo do not appear affected whatsoever.

Advisory Timeline

  • First published February 12, 2026 (287 days ago).
  • Last revised September 10, 2026 — 210 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/grafana/grafana to 12.2.5 or later
go get github.com/grafana/grafana@v12.2.5
Go
Update github.com/grafana/grafana to 12.3.3 or later
go get github.com/grafana/grafana@v12.3.3

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: Go (1).

PackageFixed In
github.com/grafana/grafana Go · Affected: All versions12.2.5
github.com/grafana/grafana Go · Affected: All versions12.3.3

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-79
    Cross-site Scripting (XSS)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 6.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2025-41117?
Grafana has a Cross-site Scripting issue. This vulnerability has been assigned a severity rating of MEDIUM (CVSS score: 6.8/10).
How do I check if my project is affected by CVE-2025-41117?
CVE-2025-41117 affects github.com/grafana/grafana. It has a 0.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-41117 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
6.8

Exploitation requires specific conditions, or the impact is limited.

EPSS Score (30-day exploit probability)
0.35%
EPSS percentile: 21

This is a below-median EPSS score — only 21% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-cqp7-wf4c-3xgc
BIT-grafana-2025-41117
GO-2026-5332

Related CVEs

  • CVE-2018-18624

    Grafana XSS via a column style in github.com/grafana/grafana

  • CVE-2020-12245

    Grafana XSS in header column rename in github.com/grafana/grafana

  • CVE-2020-12459

    Grafana world readable configuration files in github.com/grafana/grafana

  • CVE-2020-24303

    Grafana XSS via a query alias for the ElasticSearch datasource in github.com/grafana/grafana

  • CVE-2020-11110

    Grafana stored XSS in github.com/grafana/grafana

  • CVE-2026-33380

    Grafana: SQL Expressions Read File From Disk in github.com/grafana/grafana

  • CVE-2026-33381

    Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana

  • CVE-2026-21727

    Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my go.sum