6.8medium
XSS in Grafana Explore stack trace
- Severity
- 6.8medium CVSS:3.1 by GRAFANA
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GRAFANA
- Also known as
- GHSA-cqp7-wf4c-3xgcBIT-GRAFANA-2025-41117GO-2026-5332
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
| Product or package | Versions | Reported by |
|---|---|---|
| Grafana grafana/grafana | from 12.2.0 before 12.2.4+security-01, from 12.3.0 before 12.3.2+security-01 | CVE List |
| Grafana grafana/grafana-enterprise | from 12.2.0 before 12.2.4+security-01, from 12.3.0 before 12.3.2+security-01 | CVE List |
| github.com/grafana/grafana (Go) | from 12.2.0 before 12.2.5, from 12.3.0 before 12.3.3, all versions | GitHub Advisory Database, Go Vulnerability Database |
| grafana grafana | from 12.2.0 before 12.2.4, from 12.3.0 before 12.3.2, 12.2.4, 12.3.2 | NVD |
| grafana (Bitnami) | from 12.2.0 before 12.2.4, from 12.3.0 before 12.3.2 | Bitnami Vulnerability Database |
All scores
| GRAFANA | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| GitHub | 6.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
Go Vulnerability Database
Grafana has a Cross-site Scripting issue in github.com/grafana/grafana.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/grafana/grafana from v12.2.0 before v12.2.5, from v12.3.0 before v12.3.3.
NVD (es)
Las trazas de pila en la vista 'Explore Traces' de Grafana pueden renderizarse como HTML sin procesar y, por lo tanto, inyectar JavaScript malicioso en el navegador. Esto requerirÃa que se introduzca JavaScript malicioso en el campo de traza de pila. Solo las fuentes de datos con la API HTTP de Jaeger parecen estar afectadas; Jaeger gRPC y Tempo no parecen afectadas en absoluto.
References
Related
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-41117 changed 2026-08-27 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-cqp7-wf4c-3xgc changed 2026-09-10 | CC-BY-4.0 |
| Go Vulnerability Database | GO-2026-5332 changed 2026-07-02 | CC-BY-4.0 |
| NVD | CVE-2025-41117 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GRAFANA-2025-41117 changed 2026-06-25 | Apache-2.0 |