CVE-2025-6023 — Vulnerability in github.com/grafana/grafana
Grafana is vulnerable to XSS attacks through open redirects and path traversal in github.com/grafana/grafana
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (1.33%). Schedule for your next planned update.
Does your project use an affected github.com/grafana/grafana version?
Paste your go.sum to check it for CVE-2025-6023 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Grafana is vulnerable to XSS attacks through open redirects and path traversal in github.com/grafana/grafana.
NOTE: The source advisory for this report contains additional versions that could not be automatically mapped to standard Go module versions.
(If this is causing false-positive reports from vulnerability scanners, please suggest an edit to the report.)
The additional affected modules and versions are: github.com/grafana/grafana before v1.9.2-0.20250521205822-0ba0b99665a9.
Advisory Timeline
- First published July 29, 2025 (485 days ago).
- Last revised June 19, 2026 — 325 days after initial publication.
Affected Packages (1)
Affects 1 ecosystem: Go (1).
| Package | Fixed In |
|---|---|
| github.com/grafana/grafana Go · Affected: All versions | Range-based data available |
References
- https://github.com/advisories/GHSA-vqph-p5vc-g644ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2025-6023ADVISORY
- https://github.com/grafana/grafana/commit/0ba0b99665a946cd96676ef85ec8bc83028cb1d7FIX
- https://github.com/grafana/grafana/commit/40ed88fe86d347bcde5ddaed6c4a20a95d2f0d55FIX
- https://github.com/grafana/grafana/commit/5b00e21638f565eed46acb4d0b7c009968df4c3bFIX
- https://github.com/grafana/grafana/commit/b6dd2b70c655c61b111b328f1a7dcca6b3954936FIX
- https://github.com/grafana/grafana/commit/e0ba4b480954f8a33aa2cff3229f6bcc05777bd9FIX
- https://github.com/grafana/grafanaWEB
- https://grafana.com/blog/2025/07/17/grafana-security-release-medium-and-high-severity-fixes-for-cve-2025-6197-and-cve-2025-6023WEB
- https://grafana.com/security/security-advisories/cve-2025-6023WEB
Frequently Asked Questions
- What is CVE-2025-6023?
- Grafana is vulnerable to XSS attacks through open redirects and path traversal in github.com/grafana/grafana. This vulnerability has been assigned a severity rating of Unknown.
- How do I check if my project is affected by CVE-2025-6023?
- CVE-2025-6023 affects github.com/grafana/grafana. It has a 1.3% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-6023 and 200,000+ other known vulnerabilities.
Severity & Exploitability
This is an above-median EPSS score — 71.3% of tracked vulnerabilities score at or below it, putting its exploitation likelihood in the upper half of the tracked corpus.
Also Known As
Related CVEs
- CVE-2020-13430
Grafana XSS via the OpenTSDB datasource in github.com/grafana/grafana
- CVE-2018-18624
Grafana XSS via a column style in github.com/grafana/grafana
- CVE-2020-12245
Grafana XSS in header column rename in github.com/grafana/grafana
- CVE-2020-12459
Grafana world readable configuration files in github.com/grafana/grafana
- CVE-2025-41117
Grafana has a Cross-site Scripting issue in github.com/grafana/grafana
- CVE-2026-33380
Grafana: SQL Expressions Read File From Disk in github.com/grafana/grafana
- CVE-2026-33381
Grafana: Users can generate Service Account tokens after permissions removal in github.com/grafana/grafana
- CVE-2026-21727
Grafana legacy correlations allow cross-tenant disclosure and deletion in github.com/grafana/grafana