What’s Vulnerable › Vulnerabilities
CVE-2025-4123
- Severity: medium (CVSS 6.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 97.1% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2025-05-22 · updated 2026-06-17
- Weakness: CWE-79
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 products
- Grafana: before 10.4.18; from 11.2.0 before 11.2.9; from 11.3.0 before 11.3.6; from 11.4.0 before 11.4.4; from 11.5.0 before 11.5.4; from 11.6.0 before 11.6.1 — fixed in 10.4.18, 11.2.9, 11.3.6, 11.4.4, 11.5.4, 11.6.1
How to fix
Upgrade to a fixed version: Grafana 10.4.18, 11.2.9, 11.3.6, 11.4.4. Check the vendor advisory for mitigations.
References
- 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://www.exploit-db.com/exploits/52491
Get alerted when CVE-2025-4123 or the next vulnerability affects your stack