GitHub Advisoryadvisory · Go
GHSA-cqp7-wf4c-3xgc Grafana has a Cross-site Scripting issue
MEDIUM
Official page ↗
- Aliases
- CVE-2025-41117
- Ecosystem
- Go
- Packages
- github.com/grafana/grafana
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Weaknesses
- CWE-79
- Reviewed
- 2026-05-11
Affected packages
• Go github.com/grafana/grafana: >= 12.2.0, < 12.2.5 → fixed in 12.2.5
• Go github.com/grafana/grafana: >= 12.3.0, < 12.3.3 → fixed in 12.3.3
Description
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.
Related
Alias · CVE (1)
- CVE-2025-41117 Stack traces in Grafana's Explore Traces view can be rendered as raw HTML, and thus inject malicious JavaScript in the browser. vulnerability
Weakness · CWE (1)
- CWE-79 Improper Neutralization of Input During Web Page Generation weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-41117 advisory
- https://github.com/grafana/grafana/commit/4f624a5a01404da45d60063ae1ee2f184818cd42 web
- https://github.com/grafana/grafana/commit/8dfa6446942873d76cd94c63a2d6b71a25e880da web
- https://github.com/grafana/grafana/commit/ecff0d88680cea4ad32709cb3b94b790a7f58d25 web
- https://github.com/grafana/grafana package
- https://grafana.com/security/security-advisories/CVE-2025-41117 web