medium6.8
CVE-2025-41117
Grafana has a Cross-site Scripting issue
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/grafana/grafana | >= 12.2.0, < 12.2.5 | 12.2.5 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Grafana | Grafana | from 12.2.0 before 12.2.4 from 12.3.0 before 12.3.2 Versions 12.2.4, 12.3.2 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://grafana.com/security/security-advisories/cve-2025-41117
- https://github.com/advisories/GHSA-cqp7-wf4c-3xgc
- 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