7.6
HIGH
CVE-2025-4123
Grafana Cross-Site Scripting (XSS) via Client Path Traversal and Open Redirect
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.

INFO

Published Date :

May 22, 2025, 8:15 a.m.

Last Modified :

May 23, 2025, 3:55 p.m.

Remotely Exploitable :

Yes !

Impact Score :

4.7

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2025-4123 has a 14 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2025-4123 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Grafana grafana
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2025-4123.

URL Resource
https://grafana.com/security/security-advisories/cve-2025-4123/

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

备份的漏洞库,3月开始我们来维护

Updated: 2 days ago
2 stars 0 fork 0 watcher
Born at : June 30, 2025, 9:14 a.m. This repo has been linked 216 different CVEs too.

None

Updated: 3 weeks, 1 day ago
1 stars 0 fork 0 watcher
Born at : June 21, 2025, 2:36 p.m. This repo has been linked 1 different CVEs too.

Escaner para encontrar vulnerabilidad CVE-2025-4123 grafana

Python

Updated: 3 weeks, 6 days ago
0 stars 0 fork 0 watcher
Born at : June 17, 2025, 11:35 a.m. This repo has been linked 1 different CVEs too.

None

Updated: 4 weeks, 1 day ago
0 stars 0 fork 0 watcher
Born at : June 15, 2025, 2:32 a.m. This repo has been linked 216 different CVEs too.

CVE-2025-4123

Python

Updated: 1 month ago
1 stars 0 fork 0 watcher
Born at : June 6, 2025, 8:24 p.m. This repo has been linked 1 different CVEs too.

CVE-2025-4123 - Grafana Tool

Python

Updated: 3 weeks ago
21 stars 4 fork 4 watcher
Born at : June 4, 2025, 12:42 p.m. This repo has been linked 1 different CVEs too.

None

Updated: 1 month, 1 week ago
0 stars 0 fork 0 watcher
Born at : June 3, 2025, 6:24 a.m. This repo has been linked 1 different CVEs too.

CVE-2025-4123

Updated: 1 month, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : May 23, 2025, 1:33 p.m. This repo has been linked 1 different CVEs too.

Script to exploit Grafana CVE-2025-4123: XSS and Full-Read SSRF

JavaScript Python

Updated: 2 days, 9 hours ago
44 stars 7 fork 7 watcher
Born at : May 22, 2025, 3:34 p.m. This repo has been linked 1 different CVEs too.

Links of research blogs published by me.

Updated: 1 month ago
0 stars 0 fork 0 watcher
Born at : April 16, 2025, 9:30 a.m. This repo has been linked 20 different CVEs too.

备份的漏洞库,3月开始我们来维护

Updated: 1 day, 13 hours ago
1300 stars 372 fork 372 watcher
Born at : March 4, 2025, 2:54 p.m. This repo has been linked 216 different CVEs too.

None

HTML Python Shell

Updated: 1 week, 3 days ago
0 stars 0 fork 0 watcher
Born at : Feb. 13, 2025, 8:50 a.m. This repo has been linked 890 different CVEs too.

Welcome Hackers, this is your go-to resource for learning cybersecurity stuff everyday :)

Updated: 1 month, 1 week ago
31 stars 7 fork 7 watcher
Born at : Feb. 22, 2024, 11:42 a.m. This repo has been linked 1 different CVEs too.

📡 PoC auto collect from GitHub. ⚠️ Be careful Malware.

security cve exploit poc vulnerability

Updated: 2 days ago
7078 stars 1188 fork 1188 watcher
Born at : Dec. 8, 2019, 1:03 p.m. This repo has been linked 809 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-4123 vulnerability anywhere in the article.

  • Cyber Security News
46,000+ Grafana Instances Exposed to Malicious Account Takeover Attacks

A critical vulnerability affecting over 46,000 publicly accessible Grafana instances worldwide, with 36% of all public-facing deployments vulnerable to complete account takeover attacks. The newly dis ... Read more

Published Date: Jun 16, 2025 (4 weeks ago)
  • BleepingComputer
Over 46,000 Grafana instances exposed to account takeover bug

More than 46,000 internet-facing Grafana instances remain unpatched and exposed to a client-side open redirect vulnerability that allows executing a malicious plugin and account takeover. The flaw is ... Read more

Published Date: Jun 15, 2025 (4 weeks ago)

The following table lists the changes that have been made to the CVE-2025-4123 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    May. 22, 2025

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
    Added CWE CWE-79
    Added CWE CWE-601
    Added Reference https://grafana.com/security/security-advisories/cve-2025-4123/
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-4123 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
© cvefeed.io
Latest DB Update: Jul. 14, 2025 13:11