Grafana is vulnerable to XSS attacks through open redirects and path traversal
Published 18 Jul 2025 · Updated 10 Sept 2026
Is your project on an affected github.com/grafana/grafana?
Look after several Go apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
- Affected
- <1.9.2-0.20250521205822-0ba0b99665a9
- Fixed in
- 1.9.2-0.20250521205822-0ba0b99665a9
go get github.com/grafana/grafana@v1.9.2-0.20250521205822-0ba0b99665a9Details
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
Is GHSA-vqph-p5vc-g644 in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected github.com/grafana/grafana, and gives you the command that fixes it.
More advisories for github.com/grafana/grafana
- LowCVE-2026-21727Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana · 7 Oct 2026
- LowCVE-2026-42127Grafana: Pre-authentication denial of service in the public dashboard query handler in github.com/grafana/grafana · 28 Sept 2026
- LowCVE-2026-9029Grafana geomap panel's XYZ tile layer has a sanitize-then-interpolate ordering bug in github.com/grafana/grafana · 28 Sept 2026
- LowCVE-2026-42129Grafana Loki datasource plugin's callResource handler contains a path traversal vulnerability. in github.com/grafana/grafana · 28 Sept 2026
- LowCVE-2026-10601Grafana: Path traversal in the Tempo and Loki data source plugins in github.com/grafana/grafana · 28 Sept 2026
- LowCVE-2026-33381Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana · 25 Jun 2026
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2025-6023
- Linkgithub.com/grafana/grafana/commit/0ba0b99665a946cd96676ef85ec8bc83028cb1d7
- Linkgithub.com/grafana/grafana/commit/40ed88fe86d347bcde5ddaed6c4a20a95d2f0d55
- Linkgithub.com/grafana/grafana/commit/5b00e21638f565eed46acb4d0b7c009968df4c3b
- Linkgithub.com/grafana/grafana/commit/b6dd2b70c655c61b111b328f1a7dcca6b3954936
- Linkgithub.com/grafana/grafana/commit/e0ba4b480954f8a33aa2cff3229f6bcc05777bd9
- Linkgithub.com/grafana/grafana
- Linkgrafana.com/blog/2025/07/17/grafana-security-release-medium-and-high-severity-fixes-for-cve-2025-6197-and-cve-2025-6023
- Linkgrafana.com/security/security-advisories/cve-2025-6023
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.