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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Grafana | grafana/grafana | 12.2.0 – < 12.2.4+security-01, 12.3.0 – < 12.3.2+security-01 | 12.2.4+security-01 |
| Grafana | grafana/grafana-enterprise | 12.2.0 – < 12.2.4+security-01, 12.3.0 – < 12.3.2+security-01 | 12.2.4+security-01 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 16.04 LTS | grafana | No fix yet | — |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/grafana/grafana | >= 12.2.0, < 12.2.5 | 12.2.5 | GHSA-cqp7-wf4c-3xgc |
| Go | github.com/grafana/grafana | >= 12.3.0, < 12.3.3 | 12.3.3 | GHSA-cqp7-wf4c-3xgc |
| Go | github.com/grafana/grafana | all versions | — | GO-2026-5332 |
Advisories 2
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- WID-SEC-2026-0405 Grafana: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 3, 2026
References
- https://grafana.com/security/security-advisories/cve-2025-41117 vendor-advisory