CVE-2025-4123

HIGH
Published May 22, 2025 Modified Apr 29, 2026 CWE-79 CWE-601

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.

Is your site exposed to CVE-2025-4123?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

7.6
HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L

Weakness Type (CWE)

CWE-79 Cross-site Scripting (XSS)
CWE-601 CWE-601

Affected Products

Vendor Product
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana
grafana grafana

References

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. It has a CVSS v3.1 base score of 7.6 (HIGH).
How severe is CVE-2025-4123? +
CVE-2025-4123 has a CVSS v3.1 score of 7.6 out of 10, rated HIGH. This is a high-severity vulnerability that should be prioritized for patching.
What products are affected by CVE-2025-4123? +
CVE-2025-4123 affects products from grafana, specifically: grafana. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-4123? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-4123 — free, no signup required.