MEDIUM6.8
GHSA-cqp7-wf4c-3xgc
Grafana has a Cross-site Scripting issue
Quick fix
GHSA-cqp7-wf4c-3xgc — github.com/grafana/grafana: upgrade to the fixed version with the command below.
go get github.com/grafana/grafana@v12.2.5Details
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.
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/grafana/grafana
Introduced in:
12.2.0Fixed in: 12.2.5Fix
go get github.com/grafana/grafana@v12.2.5Go/github.com/grafana/grafana
Introduced in:
12.3.0Fixed in: 12.3.3Fix
go get github.com/grafana/grafana@v12.3.3References
- 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]