CVE-2025-4123
May 22, 2025
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 Packages
https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) =v12.0.0 <v12.0.1Fix Suggestion:
Update to version v12.0.1https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v1.0 <v10.4.19Fix Suggestion:
Update to version v10.4.19https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v11.6.0 <v11.6.2Fix Suggestion:
Update to version v11.6.2https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v11.5.0 <v11.5.5Fix Suggestion:
Update to version v11.5.5https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v11.4.0 <v11.4.5Fix Suggestion:
Update to version v11.4.5https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v11.3.0 <v11.3.7Fix Suggestion:
Update to version v11.3.7https://github.com/grafana/grafana.git (GITHUB):
Affected version(s) >=v11.2.0 <v11.2.10Fix Suggestion:
Update to version v11.2.10Additional Notes
The description of this vulnerability differs from MITRE.
Related Resources (9)
Do you need more information?
Contact UsCVSS v4
Base Score:
7.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
PASSIVE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.6
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
REQUIRED
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
LOW
Availability
LOW
Weakness Type (CWE)
EPSS
Base Score:
9.94