Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Grafana | Grafana | < 10.4.18 |
Related Weaknesses (CWE)
References
- https://grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-sevVendor Advisory
- https://grafana.com/security/security-advisories/cve-2025-4123/Vendor Advisory
- https://www.exploit-db.com/exploits/52491
FAQ
What is CVE-2025-4123?
CVE-2025-4123 is a vulnerability with a CVSS score of 7.6 (HIGH). 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 p...
How severe is CVE-2025-4123?
CVE-2025-4123 has been rated HIGH with a CVSS base score of 7.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-4123?
Check the references section above for vendor advisories and patch information. Affected products include: Grafana Grafana.