CVEs / CVE-2025-4123
CVE-2025-4123: Grafana Grafana vulnerability
- medium 6.1 CVSS 3.1 (NVD)
- EPSS 97.3% chance of exploitation in the next 30 days, higher than 99% of CVEs (2 Dec 2026)
- Last changed at its sources
Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.
Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-4123
Description
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.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| Grafana Grafana | from 10.4.18+security-01, before 10.4.19 | 10.4.19 |
| Grafana Grafana | from 11.2.9+security-01, before 11.2.10 | 11.2.10 |
| Grafana Grafana | from 11.3.6+security-01, before 11.3.7 | 11.3.7 |
| Grafana Grafana | from 11.4.4+security-01, before 11.4.5 | 11.4.5 |
| Grafana Grafana | from 11.5.4+security-01, before 11.5.5 | 11.5.5 |
| Grafana Grafana | from 11.6.1+security-01, before 11.6.2 | 11.6.2 |
| Grafana Grafana | from 12.0.0+security-01, before 12.0.1 | 12.0.1 |
| Product | Affected | Fixed in |
|---|---|---|
| github.com/grafana/grafana (Go) | before 0.0.0-20250521183405-c7a690348df7 | 0.0.0-20250521183405-c7a690348df7 |
Package versions from GHSA-q53q-gxq9-mgrj.
Exploitation
Not in the CISA Known Exploited Vulnerabilities catalog as of 30 Nov 2026.
Severity
| CVSS 3.1 | 6.1 mediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NScored by NVD |
|---|---|
| Weakness | CWE-79, CWE-601 |
References
- CVE-2025-4123 on NVD
- CVE-2025-4123 on OSV
- https://grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580/ Vendor Advisory
- https://grafana.com/security/security-advisories/cve-2025-4123/ Vendor Advisory
- https://www.exploit-db.com/exploits/52491
Sources
Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.
This product uses data from the NVD API but is not endorsed or certified by the NVD.