CVE-2025-6023 Details
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
A cross-site scripting (XSS) vulnerability has been identified in Grafana OSS versions 11.5.0 and later, excluding the patched versions in the 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 releases. This vulnerability arises from an open redirect that can be exploited to execute arbitrary JavaScript in scripted dashboards. The issue can be chained with path traversal vulnerabilities to achieve XSS. Notably, this vulnerability does not require editor permissions to exploit. In Grafana Cloud, the absence of a proper Content-Security-Policy directive allows the execution of external JavaScript, increasing the risk of exploitation.
Users can upgrade to Grafana versions 12.0.2+security-01, 11.6.3+security-01, 11.5.6+security-01, 11.4.6+security-01 or 11.3.8+security-01. Grafana Cloud users have already been patched. For self-hosted Grafana, the default Content Security Policy can be adjusted to include a 'connect-src' directive, blocking the fetch of external JavaScript.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 18, 2025CISA-ADP
Assessed Jul 18, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Grafana | >= 11.5.0 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jul 18, 2025 | New CVE Received | [email protected] |
Volerion