Open redirect in Grafana
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing, Cross-site scripting
- Confidentiality · integrity · availability
- High · Low · Low
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-601 and CWE-79.
Summary
A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect. This allows attackers to redirect users to a website that hosts a frontend plugin that will execute arbitrary JavaScript. This vulnerability does not require editor permissions and if anonymous access is enabled, the XSS will work. If the Grafana Image Renderer plugin is installed, it is possible to exploit the open redirect to achieve a full read SSRF. The default Content-Security-Policy (CSP) in Grafana will block the XSS though the `connect-src` directive.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Grafana | Grafana | 10.4.18+security-01 to before 10.4.19; 11.2.9+security-01 to before 11.2.10; 11.3.6+security-01 to before 11.3.7; 11.4.4+security-01 to before 11.4.5; 11.5.4+security-01 to before 11.5.5; 11.6.1+security-01 to before 11.6.2; 12.0.0+security-01 to before 12.0.1 | 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, 11.6.2, 12.0.1 | Patch available | CNA |
| — | github.com/grafana/grafana (Go) | before 0.0.0-20250521183405-c7a690348df7 | 0.0.0-20250521183405-c7a690348df7 | Patch available | GHSA-q53q-gxq9-mgrj |
- Grafana VendorGrafana Affected 10.4.18+security-01 to before 10.4.19; 11.2.9+security-01 to before 11.2.10; 11.3.6+security-01 to before 11.3.7; 11.4.4+security-01 to before 11.4.5; 11.5.4+security-01 to before 11.5.5; 11.6.1+security-01 to before 11.6.2; 12.0.0+security-01 to before 12.0.1 Fixed in 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, 11.6.2, 12.0.1 Patch available CNA
- github.com/grafana/grafana (Go) Vendor— Affected before 0.0.0-20250521183405-c7a690348df7 Fixed in 0.0.0-20250521183405-c7a690348df7 Patch available GHSA-q53q-gxq9-mgrj
CPE configurations NVD · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* | before 10.4.18; 11.2.0 to before 11.2.9; 11.3.0 to before 11.3.6; 11.4.0 to before 11.4.4; 11.5.0 to before 11.5.4; 11.6.0 to before 11.6.1 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:10.4.18:-:*:*:*:*:*:* | 10.4.18 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:11.2.9:-:*:*:*:*:*:* | 11.2.9 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:11.3.6:-:*:*:*:*:*:* | 11.3.6 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:11.4.4:-:*:*:*:*:*:* | 11.4.4 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:11.5.4:-:*:*:*:*:*:* | 11.5.4 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:11.6.1:-:*:*:*:*:*:* | 11.6.1 | Vulnerable | Grafana |
| cpe:2.3:a:grafana:grafana:12.0.0:-:*:*:*:*:*:* | 12.0.0 | Vulnerable | Grafana |
- cpe:2.3:a:grafana:grafana:*:*:*:*:*:*:*:* Versions before 10.4.18; 11.2.0 to before 11.2.9; 11.3.0 to before 11.3.6; 11.4.0 to before 11.4.4; 11.5.0 to before 11.5.4; 11.6.0 to before 11.6.1 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:10.4.18:-:*:*:*:*:*:* Versions 10.4.18 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:11.2.9:-:*:*:*:*:*:* Versions 11.2.9 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:11.3.6:-:*:*:*:*:*:* Versions 11.3.6 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:11.4.4:-:*:*:*:*:*:* Versions 11.4.4 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:11.5.4:-:*:*:*:*:*:* Versions 11.5.4 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:11.6.1:-:*:*:*:*:*:* Versions 11.6.1 Vulnerable ·Grafana
- cpe:2.3:a:grafana:grafana:12.0.0:-:*:*:*:*:*:* Versions 12.0.0 Vulnerable ·Grafana
Remediation
- Fix · CNA Grafana (Grafana) Fixed in 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, 11.6.2, 12.0.1
- Fix · GHSA-q53q-gxq9-mgrj github.com/grafana/grafana (Go) Fixed in 0.0.0-20250521183405-c7a690348df7 Advisory →
Red Hat 10 advisories
- RHSA-2025:8680 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream E4S (v.9.2) grafana-9.0.9-8.el9_2
- RHSA-2025:8679 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream AUS (v.8.6) grafana-7.5.11-6.el8_6
- Red Hat Enterprise Linux AppStream E4S (v.8.6) grafana-7.5.11-6.el8_6
- Red Hat Enterprise Linux AppStream TUS (v.8.6) grafana-7.5.11-6.el8_6
- RHSA-2025:8681 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream E4S (v.9.0) grafana-7.5.11-10.el9_0
Show 7 more Red Hat advisories
- RHSA-2025:8683 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream AUS (v.8.4) grafana-7.3.6-9.el8_4
- RHSA-2025:8685 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream E4S (v.8.8) grafana-7.5.15-7.el8_8
- Red Hat Enterprise Linux AppStream TUS (v.8.8) grafana-7.5.15-7.el8_8
- RHSA-2025:8684 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream AUS (v. 8.2) grafana-6.3.6-7.el8_2, grafana-azure-monitor-6.3.6-7.el8_2, grafana-cloudwatch-6.3.6-7.el8_2 +10
- RHSA-2025:8665 Released 2025-06-09 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream EUS (v.9.4) grafana-9.2.10-23.el9_4, grafana-selinux-9.2.10-23.el9_4
- RHSA-2025:7893 Released 2025-05-19 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream (v. 9) grafana-10.2.6-13.el9_6, grafana-selinux-10.2.6-13.el9_6
- RHSA-2025:7894 Released 2025-05-19 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream (v. 8) grafana-9.2.10-23.el8_10, grafana-selinux-9.2.10-23.el8_10
- RHSA-2025:7892 Released 2025-05-19 · Red Hat rating Importantgrafana security update
- Red Hat Enterprise Linux AppStream (v. 10) grafana-10.2.6-17.el10_0, grafana-selinux-10.2.6-17.el10_0
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux AppStream (v. 10) | Fixed | RHSA-2025:7892 |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2025:7894 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2025:7893 |
| Red Hat Enterprise Linux AppStream AUS (v. 8.2) | Fixed | RHSA-2025:8684 |
| Red Hat Enterprise Linux AppStream AUS (v.8.4) | Fixed | RHSA-2025:8683 |
| Red Hat Enterprise Linux AppStream AUS (v.8.6) | Fixed | RHSA-2025:8679 |
| Red Hat Enterprise Linux AppStream E4S (v.8.6) | Fixed | RHSA-2025:8679 |
| Red Hat Enterprise Linux AppStream E4S (v.8.8) | Fixed | RHSA-2025:8685 |
| Red Hat Enterprise Linux AppStream E4S (v.9.0) | Fixed | RHSA-2025:8681 |
| Red Hat Enterprise Linux AppStream E4S (v.9.2) | Fixed | RHSA-2025:8680 |
| Red Hat Enterprise Linux AppStream EUS (v.9.4) | Fixed | RHSA-2025:8665 |
| Red Hat Enterprise Linux AppStream TUS (v.8.6) | Fixed | RHSA-2025:8679 |
| Red Hat Enterprise Linux AppStream TUS (v.8.8) | Fixed | RHSA-2025:8685 |
Timeline
- 2026-10-02 Threatist record created from CVE-2025-4123
- 2026-10-03 Alias added: GHSA-q53q-gxq9-mgrj
References
Advisory 3
Other 6
- https://github.com/grafana/grafana/commit/c7a690348df761d41b659224cbc50a46a0c0e4cc
- https://github.com/grafana/grafana
- https://grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580
- https://grafana.com/security/security-advisories/cve-2025-4123
- https://pkg.go.dev/vuln/GO-2025-3702
- https://www.exploit-db.com/exploits/52491
More Grafana vulnerabilities
- TI-2021-16611 Snapshot authentication bypass in grafana KEVCVSS 3.1CRITICAL 9.8
- TI-2021-19604 Grafana path traversal KEVCVSS 3.1HIGH 7.5
- TI-2024-08600 Grafana SQL Expressions allow for remote code execution CVSS 4.0CRITICAL 9.4
- TI-2023-02931 Authentication bypass by spoofing in Grafana CVSS 3.1CRITICAL 9.8
- TI-2020-10491 The avatar feature in Grafana 3.0.1 through 7.0.1 has an SSRF Incorrect Access Control… CVSS 3.1HIGH 8.2
- TI-2022-13141 Stored XSS in Grafana's Unified Alerting CVSS 3.1HIGH 8.7
Sources
- CVE-2025-4123 · CVE Program
- CVE-2025-4123 · NVD
- FIRST EPSS
- GHSA-q53q-gxq9-mgrj · GitHub Advisory Database · CC BY 4.0
- CVE-2025-4123 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences