CVE-2025-6023: Grafana is vulnerable to XSS attacks through open redirects and path traversal
An open redirect vulnerability has been identified in Grafana OSS that can be exploited to achieve XSS attacks. The vulnerability was introduced in Grafana v11.5.0. The open redirect can be chained with path traversal vulnerabilities to achieve XSS. Fixed in versions 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01 and 11.3.8+security-01
Published Jul 18, 2025 · Updated Jul 20, 2025
Affected packages
github.com/grafana/grafana
- Ecosystem
- Go
- Affected
- < 1.9.2-0.20250521205822-0ba0b99665a9
- Fixed in
- 1.9.2-0.20250521205822-0ba0b99665a9
- Check
go list -m github.com/grafana/grafana
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
An open redirect vulnerability has been identified in Grafana OSS that can be exploited to achieve XSS attacks. The vulnerability was introduced in Grafana v11.5.0.
The open redirect can be chained with path traversal vulnerabilities to achieve XSS.
Fixed in versions 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01 and 11.3.8+security-01
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-6023
- https://grafana.com/blog/2025/07/17/grafana-security-release-medium-and-high-severity-fixes-for-cve-2025-6197-and-cve-2025-6023
- https://grafana.com/security/security-advisories/cve-2025-6023
- https://github.com/grafana/grafana/commit/0ba0b99665a946cd96676ef85ec8bc83028cb1d7
- https://github.com/grafana/grafana/commit/40ed88fe86d347bcde5ddaed6c4a20a95d2f0d55
- https://github.com/grafana/grafana/commit/5b00e21638f565eed46acb4d0b7c009968df4c3b
- https://github.com/grafana/grafana/commit/b6dd2b70c655c61b111b328f1a7dcca6b3954936
- https://github.com/grafana/grafana/commit/e0ba4b480954f8a33aa2cff3229f6bcc05777bd9
- https://github.com/advisories/GHSA-vqph-p5vc-g644
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Go vulnerabilities
All Go entriesCVE-2026-10601
Grafana: Path traversal in the Tempo and Loki data source plugins
medium5.4No fixJun 22, 2026CVE-2026-42127
Grafana: Pre-authentication denial of service in the public dashboard query handler
high7.5No fixJun 22, 2026CVE-2026-42129
Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability.
high7.7No fixJun 22, 2026CVE-2026-9029
Grafana geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug
high7.3No fixJun 22, 2026CVE-2026-33380
Grafana: SQL Expressions Read File From Disk
medium6.3May 13, 2026CVE-2026-33381
Grafana: Users can generate Service Account tokens after permissions removal
medium5.9May 13, 2026
