CVE-2025-41117: Grafana has a Cross-site Scripting issue
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.
Published Feb 12, 2026 · Updated May 11, 2026
Affected packages
github.com/grafana/grafana
- Ecosystem
- Go
- Affected
- >= 12.2.0, < 12.2.5
- Fixed in
- 12.2.5
- Check
go list -m github.com/grafana/grafana
github.com/grafana/grafana
- Ecosystem
- Go
- Affected
- >= 12.3.0, < 12.3.3
- Fixed in
- 12.3.3
- Check
go list -m github.com/grafana/grafana
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
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.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-41117
- https://grafana.com/security/security-advisories/CVE-2025-41117
- https://github.com/grafana/grafana/commit/4f624a5a01404da45d60063ae1ee2f184818cd42
- https://github.com/grafana/grafana/commit/8dfa6446942873d76cd94c63a2d6b71a25e880da
- https://github.com/grafana/grafana/commit/ecff0d88680cea4ad32709cb3b94b790a7f58d25
- https://github.com/advisories/GHSA-cqp7-wf4c-3xgc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-10601
Grafana: Path traversal in the Tempo and Loki data source plugins
medium5.4No fixJun 22, 2026CVE-2026-42127
Grafana: Pre-authentication denial of service in the public dashboard query handler
high7.5No fixJun 22, 2026CVE-2026-42129
Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
high7.7No fixJun 22, 2026CVE-2026-9029
Grafana geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug
high7.3No fixJun 22, 2026CVE-2026-33380
Grafana: SQL Expressions Read File From Disk
medium6.3May 13, 2026CVE-2026-33381
Grafana: Users can generate Service Account tokens after permissions removal
medium5.9May 13, 2026
