XSS in Grafana
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. 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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.
EPSS exploit prediction
EPSS 0.003, 19.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Grafana — versions 12.2.4, 12.3.2
- Grafana Grafana/grafana — versions 12.2.0, 12.3.0
- Grafana Grafana/grafana-Enterprise — versions 12.2.0, 12.3.0
Weakness classification (CWE)
References
- grafana.com/security/security-advisories/cve-2025-41117 (vendor-advisory, Broken Link)