Cross-Site Scripting Vulnerability in Grafana
CVE-2025-4123
Key Information:
- Vendor
Grafana
- Status
- CVE ID
- CVE ID:
- CVE-2025-4123
- Vendor
- CVE Published:
- 22 May 2025
- Fixed in
- Fixed in:
- 10.4.19, 11.2.10, 11.3.7 +4 more
Timeline
Exploit known 1 day after it was published
- ๐
Vulnerability started trending
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
- ๐ฐ
First article discovered by Cyber Press
Vulnerability published
Vulnerability Reserved
Badges
How risky is it?
- Partly: Works over the network, but a user must act
- Yes: Public exploit code (5 proof-of-concepts)
- No: Not on CISA's exploited list
- No: No ransomware use seen
Our verdict
Patch this week
Exploitation is likely. Prioritise the fix.
What to do
1Update to a fixed version
Install the Grafana release that fixes your version line, or later:
2Can't patch yet? Reduce exposure
It can be reached over the network, so limit who can reach Grafana. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.
3Look for signs of compromise
Exploit code is public, so check logs on exposed Grafana systems for unusual requests or new processes from before you patched. The 5 public proof-of-concepts show what an attack looks like.
4Why it's rated "Patch this week"
- Exploit code is public, so attacks are easy to copy.
- EPSS gives it a 97.3% chance of exploitation in the next 30 days.
- Its CVSS severity is high (7.6).
What is CVE-2025-4123?
CVE-2025-4123 is a cross-site scripting (XSS) vulnerability in Grafana, triggered by a combination of client path traversal and open redirect. Attackers can exploit this flaw by sending crafted URLs that redirect users to malicious plugins hosted on external servers. This allows the execution of arbitrary JavaScript within the victim's browser session, potentially leading to account takeover without requiring editor permissions. If anonymous access is enabled, the attack can be particularly effective.
The vulnerability affects multiple versions of Grafana and was discovered by a bug bounty hunter. Security updates were released on May 21 to address this issue.
Potential Impact of CVE-2025-4123
-
Account takeover: Attackers can hijack user sessions and change account credentials, allowing them to gain full access to Grafana accounts.
-
Arbitrary code execution: Malicious plugins can execute JavaScript in the victim's browser, enabling further exploitation of the user's session.
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
News Articles
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.
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.
Cyber Security News Today | Articles on Cyber Security, Malware Attack updates | Cyware
Cyber News - Check out top news and articles about cyber security, malware attack updates and more at Cyware.com. Our machine learning based curation engine brings you the top and relevant cyber security content. Read More!
References
More Grafana Vulnerabilities
Server-side Request Forgery in mcp-grafana
Remote Code Execution Vulnerability in Grafana Enterprise Plugin
HTML Injection in Grafana
Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction