CVE-2025-41117 XSS in Grafana Explore stack trace
Attackers can inject malicious JavaScript via stack traces in Grafana Explore when using Jaeger HTTP datasources, potentially compromising user sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2025-41117?
CVE-2025-41117 is a medium-severity cross-site scripting vulnerability in Grafana Grafana, published on 12 Feb 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2025-41117?
6 open source packages ship an affected version, including github.com/grafana/grafana and grafana. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | None |
github.com/grafana/grafana Go | From 12.2.0 | 12.2.5 |
github.com/grafana/grafana Go | From 12.2.0 | 12.2.5 |
github.com/grafana/grafana Go | From 12.3.0 | 12.3.3 |
github.com/grafana/grafana Go | From 12.3.0 | 12.3.3 |
grafana Bitnami | From 12.2.0 | 12.2.4, 12.3.2 |
Products include Grafana Grafana.
How do I fix CVE-2025-41117?
Upgrade github.com/grafana/grafana to a fixed version for your release line: 12.2.5 or 12.3.3.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2025-41117 being exploited?
There is no known exploitation of CVE-2025-41117 in the wild and no public exploit code.
Other vulnerabilities in Grafana Grafana
Sources
Also known as BIT-grafana-2025-41117, GHSA-cqp7-wf4c-3xgc, GO-2026-5332, MINI-jjq4-8gvq-x7x2, MINI-mmcc-h9qq-8ww9, MINI-v7mv-6q7g-j3mq and 2 more.