CVE-2025-4123 Details
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.
A cross-site scripting (XSS) vulnerability has been identified in Grafana. This issue arises from a combination of client path traversal and open redirect, allowing attackers to redirect users to a site hosting a frontend plugin that can execute arbitrary JavaScript. The vulnerability does not require editor permissions, and if anonymous access is enabled, the XSS will be effective. Additionally, if the Grafana Image Renderer plugin is installed, the open redirect can be exploited to achieve full read server-side request forgery. While Grafana's default Content-Security-Policy blocks the XSS through the connect-src directive, this vulnerability still poses a significant risk.
This vulnerability has been fixed in Grafana versions 10.4.18+security-01, 11.2.9+security-01, 11.3.6+security-01, 11.4.4+security-01, 11.5.4+security-01, 11.6.1+security-01, and 12.0.0+security-01.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 22, 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 grafana | < 10.4.18 >= 11.2.0, < 11.2.9 >= 11.3.0, < 11.3.6 >= 11.4.0, < 11.4.4 >= 11.5.0, < 11.5.4 >= 11.6.0, < 11.6.1 10.4.18 - 11.2.9 - 11.3.6 - 11.4.4 - 11.5.4 - 11.6.1 - 12.0.0 - |
CPE
Remediation
| |
Change History
7 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | CVE Modified | CVE |
| Aug 15, 2025 | Initial Analysis | [email protected] |
| Jul 18, 2025 | CVE Modified | [email protected] |
| Jul 17, 2025 | CVE Modified | [email protected] |
| May 22, 2025 | New CVE Received | [email protected] |