CVE-2025-41117 XSS in Grafana Explore stack trace

Medium 6.8 Published Updated

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.

PackageAffectedFixed in
github.com/grafana/grafana GoAll versionsNone
github.com/grafana/grafana GoFrom 12.2.012.2.5
github.com/grafana/grafana GoFrom 12.2.012.2.5
github.com/grafana/grafana GoFrom 12.3.012.3.3
github.com/grafana/grafana GoFrom 12.3.012.3.3
grafana BitnamiFrom 12.2.012.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.

All Grafana Grafana vulnerabilities

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.

Is CVE-2025-41117 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free