CVE-2025-41117 — Vulnerability in github.com/grafana/grafana
Grafana has a Cross-site Scripting issue
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.
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 get github.com/grafana/grafana@v12.2.5
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).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | 12.2.5 |
| github.com/grafana/grafana Go · Affected: All versions | 12.3.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-79Cross-site Scripting (XSS)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 6.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-41117ADVISORY
- https://github.com/grafana/grafana/commit/4f624a5a01404da45d60063ae1ee2f184818cd42WEB
- https://github.com/grafana/grafana/commit/8dfa6446942873d76cd94c63a2d6b71a25e880daWEB
- https://github.com/grafana/grafana/commit/ecff0d88680cea4ad32709cb3b94b790a7f58d25WEB
- https://github.com/grafana/grafanaPACKAGE
- https://grafana.com/security/security-advisories/CVE-2025-41117WEB
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
Exploitation requires specific conditions, or the impact is limited.
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
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