Cross-Site Scripting Vulnerability in Grafana

Patch this weekSensitive data exposure over the network if a user is tricked.
7.6HIGH

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

๐Ÿ“ˆ Trended๐Ÿ“ˆ Score: 4,140๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC๐ŸŸฃ EPSS 97%๐Ÿ“ฐ News Worthy

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
Grafana 10.4.18+security-01 to below 10.4.19 is vulnerable
Grafana 11.2.9+security-01 to below 11.2.10 is vulnerable
Grafana 11.3.6+security-01 to below 11.3.7 is vulnerable
Grafana 11.4.4+security-01 to below 11.4.5 is vulnerable
Grafana 11.5.4+security-01 to below 11.5.5 is vulnerable
Grafana 11.6.1+security-01 to below 11.6.2 is vulnerable

Install the Grafana release that fixes your version line, or later:

10.4.1911.2.1011.3.711.4.511.5.511.6.212.0.1
Read the vendor advisory โ†—
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

  1. Account takeover: Attackers can hijack user sessions and change account credentials, allowing them to gain full access to Grafana accounts.

  2. 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

favicon imageCybersecurityNews

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.

favicon imageBleepingComputer

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

Server-side Request Forgery in mcp-grafana

CVE-2026-19516
GrafanaGrafana Mcp Server๐Ÿ˜„๐Ÿ‘พ9.1CRITICAL

Remote Code Execution Vulnerability in Grafana Enterprise Plugin

CVE-2026-27876
GrafanaGrafana๐Ÿ˜„๐Ÿ‘พ9.1CRITICAL

HTML Injection in Grafana

CVE-2025-41117
GrafanaGrafana/grafana6.8MEDIUM
View more Grafana vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities ยท Report a correction

EPSS Score

97% chance of being exploited in the next 30 days.

CVSS V3.1

Score:
7.6
Severity:
HIGH
Confidentiality:
High
Integrity:
Low
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged
.