CVE-2025-4123

MEDIUMCVSS 6.1/10EPSS 94.70%

Last modified

CVE-2025-4123 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. 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. EPSS estimates a 94.70% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
6.1/10

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

EPSS Probability
94.70%

99.8th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GrafanaGrafana< 10.4.18
GrafanaGrafana>= 11.2.0, < 11.2.9
GrafanaGrafana>= 11.3.0, < 11.3.6
GrafanaGrafana>= 11.4.0, < 11.4.4
GrafanaGrafana>= 11.5.0, < 11.5.4
GrafanaGrafana>= 11.6.0, < 11.6.1
GrafanaGrafana10.4.18
GrafanaGrafana11.2.9
GrafanaGrafana11.3.6
GrafanaGrafana11.4.4
GrafanaGrafana11.5.4
GrafanaGrafana11.6.1
GrafanaGrafana12.0.0

References

Timeline

Published
Last Modified
Status
Modified

Frequently Asked Questions

What is CVE-2025-4123?
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.
How severe is CVE-2025-4123?
CVE-2025-4123 has a CVSS score of 6.1/10 (MEDIUM severity). The EPSS model estimates a 94.70% probability of exploitation in the next 30 days.
How do I fix CVE-2025-4123?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-4123?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST