CVE-2025-6023 Grafana is vulnerable to XSS attacks through open redirects and path traversal
Attackers can exploit an open redirect in Grafana to chain with path traversal for XSS, requiring an upgrade to patched versions.
- 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-6023?
CVE-2025-6023 is a high-severity vulnerability in Grafana, published on 18 Jul 2025. 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
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
Which versions are affected by CVE-2025-6023?
4 open source packages ship an affected version, including github.com/grafana/grafana and grafana.
| Package | Affected | Fixed in |
|---|---|---|
github.com/grafana/grafana Go | All versions | None |
github.com/grafana/grafana Go | All versions | 1.9.2-0.20250521205822-0ba0b99665a9 |
github.com/grafana/grafana Go | All versions | 1.9.2-0.20250521205822-0ba0b99665a9 |
grafana Bitnami | From 11.3.0 | 11.6.3, 12.0.2 |
How do I fix CVE-2025-6023?
Upgrade github.com/grafana/grafana to 1.9.2-0.20250521205822-0ba0b99665a9 or later.
Is CVE-2025-6023 being exploited?
There is no known exploitation of CVE-2025-6023 in the wild and no public exploit code.
Sources
Also known as BIT-grafana-2025-6023, GHSA-vqph-p5vc-g644, GO-2025-3817, MINI-3pq5-cwjw-2537, MINI-4wfc-4fg6-v6w6, MINI-5qvr-546f-8c2c and 15 more.