XSS in Grafana Explore stack trace
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 7 without a fix
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Grafana | grafana/grafana | 12.2.0 to before 12.2.4+security-01; 12.3.0 to before 12.3.2+security-01 | 12.2.4+security-01, 12.3.2+security-01 | Patch available | CNA |
| Grafana | grafana/grafana-enterprise | 12.2.0 to before 12.2.4+security-01; 12.3.0 to before 12.3.2+security-01 | 12.2.4+security-01, 12.3.2+security-01 | Patch available | CNA |
| — | github.com/grafana/grafana (Go) | 12.2.0 to before 12.2.5 | 12.2.5 | Patch available | GHSA-cqp7-wf4c-3xgc |
| — | github.com/grafana/grafana (Go) | 12.3.0 to before 12.3.3 | 12.3.3 | Patch available | GHSA-cqp7-wf4c-3xgc |
- grafana/grafana VendorGrafana Affected 12.2.0 to before 12.2.4+security-01; 12.3.0 to before 12.3.2+security-01 Fixed in 12.2.4+security-01, 12.3.2+security-01 Patch available CNA
- grafana/grafana-enterprise VendorGrafana Affected 12.2.0 to before 12.2.4+security-01; 12.3.0 to before 12.3.2+security-01 Fixed in 12.2.4+security-01, 12.3.2+security-01 Patch available CNA
- github.com/grafana/grafana (Go) Vendor— Affected 12.2.0 to before 12.2.5 Fixed in 12.2.5 Patch available GHSA-cqp7-wf4c-3xgc
- github.com/grafana/grafana (Go) Vendor— Affected 12.3.0 to before 12.3.3 Fixed in 12.3.3 Patch available GHSA-cqp7-wf4c-3xgc
Remediation
- Fix · CNA grafana/grafana (Grafana) Fixed in 12.2.4+security-01, 12.3.2+security-01
- Fix · CNA grafana/grafana-enterprise (Grafana) Fixed in 12.2.4+security-01, 12.3.2+security-01
- Fix · GHSA-cqp7-wf4c-3xgc github.com/grafana/grafana (Go) Fixed in 12.2.5 Advisory →
- Fix · GHSA-cqp7-wf4c-3xgc github.com/grafana/grafana (Go) Fixed in 12.3.3 Advisory →
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Multicluster Global Hub | Affected | No fix yet: Fix deferred |
| Red Hat Advanced Cluster Management for Kubernetes 2 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 7 | Affected | No fix yet: Fix deferred |
| Red Hat Ceph Storage 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 10 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 9 | Affected | No fix yet: Fix deferred |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-41117
- 2026-10-03 Alias added: GHSA-cqp7-wf4c-3xgc
References
Advisory 2
Other 5
- https://github.com/grafana/grafana/commit/4f624a5a01404da45d60063ae1ee2f184818cd42
- https://github.com/grafana/grafana/commit/8dfa6446942873d76cd94c63a2d6b71a25e880da
- https://github.com/grafana/grafana/commit/ecff0d88680cea4ad32709cb3b94b790a7f58d25
- https://github.com/grafana/grafana
- https://grafana.com/security/security-advisories/CVE-2025-41117
More Grafana vulnerabilities
- TI-2021-16611 Snapshot authentication bypass in grafana KEVCVSS 3.1CRITICAL 9.8
- TI-2021-19604 Grafana path traversal KEVCVSS 3.1HIGH 7.5
- TI-2024-08600 Grafana SQL Expressions allow for remote code execution CVSS 4.0CRITICAL 9.4
- TI-2023-02931 Authentication bypass by spoofing in Grafana CVSS 3.1CRITICAL 9.8
- TI-2020-10491 The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control… CVSS 3.1HIGH 8.2
- TI-2025-03662 Open redirect in Grafana CVSS 3.1HIGH 7.6
Sources
- CVE-2025-41117 · CVE Program
- CVE-2025-41117 · NVD
- FIRST EPSS
- GHSA-cqp7-wf4c-3xgc · GitHub Advisory Database · CC BY 4.0
- CVE-2025-41117 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences