CVE-2025-4123
CVE-2025-4123 — A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect
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.
Published Updated Sources: NVD, Grafana (CNA), GitHub, GitHub Security Advisory, Exploit-DB, Red Hat (VEX), SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Reported
not confirmed by CISA
EPSS
97%
ahead of 99.9% of scored CVEs
CVSS base
6.1
medium · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
None
none · proof-of-concept · active
Automatable
No
can an attacker script all four kill-chain steps
Technical impact
Partial
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade github.com/grafana/grafana to 0.0.0-20250521183405-c7a690348df7 or later (go advisory GHSA-q53q-gxq9-mgrj).
Red Hat VEX · CVE-2025-4123
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
vendor_fix: For details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Prioritize based on EPSS, PoC availability, and external exposure.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Grafana | Grafana | 10.4.18+security-01 to < 10.4.19 | Vulnerable |
| Grafana | Grafana | 11.2.9+security-01 to < 11.2.10 | Vulnerable |
| Grafana | Grafana | 11.3.6+security-01 to < 11.3.7 | Vulnerable |
| Grafana | Grafana | 11.4.4+security-01 to < 11.4.5 | Vulnerable |
| Grafana | Grafana | 11.5.4+security-01 to < 11.5.5 | Vulnerable |
| Grafana | Grafana | 11.6.1+security-01 to < 11.6.2 | Vulnerable |
| Grafana | Grafana | 12.0.0+security-01 to < 12.0.1 | Vulnerable |
| Go | github.com/grafana/grafana | < 0.0.0-20250521183405-c7a690348df7 | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
None
Confidentiality
Low
Integrity
Low
Scope
Changed
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
Required
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 7.6 | CVSS 3.1 | high | 2.8 | 4.7 | grafana.com (CNA), Grafana (CNA), GHSA, Red Hat (VEX) |
| 6.1 | CVSS 3.1 | medium | 2.8 | 2.7 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-601 · URL Redirection to Untrusted Site ('Open Redirect')
- Bypass Protection Mechanism
- Gain Privileges or Assume Identity
- Other
Mitigation: Assume all input is malicious. Use an accept known good input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does. When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, boat may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as red or blue. Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright. Use a list of approved URLs or domains to be used for redirection.
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- Bypass Protection Mechanism
- Read Application Data
- Execute Unauthorized Code or Commands
Mitigation: Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid. Examples of libraries and frameworks that make it easier to generate properly encoded output include Microsoft's Anti-XSS library, the OWASP ESAPI Encoding module, and Apache Wicket.
Weakness & attack patterns
- CWE-79Cross-site Scripting
- CWE-601
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
47
3 of the 5 sampled are weaponized
Exploit entries
7
Exploit-DB and CTI exploit indexes
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
🚨 CVE-2025-4123 - high 🚨 Grafana - XSS / Open Redirect / SSRF via Client Path Traversal > An open redirect vulnerability in Grafana can be chained with other issues, such as X... 👾 https://t.co/S6Xa65KJsf @pdnuclei #NucleiTemplates #cve
@pdnuclei_bot· Jun 7, 2026
@Zierax_x Hi bro, hope you're doing great. I'm trying the scanner on a website vulnerable to CVE-2025-4123 and it's not working
@nowisar1878· May 25, 2026
TRC analysis reveals attackers exploiting CVE-2025-4123 to manipulate Grafana's AI components through prompt injection, bypassing guardrails to exfiltrate sensitive data via covert image tags. The attack chain demonstrates how compromised AI models enable lateral movement across
@aviatrixtrc· Apr 7, 2026
I earned $300 for my submission on @bugcrowd https://t.co/F8Nnc5iCN0 #ItTakesACrowd Tip: CVE-2025-4123 https://t.co/ZxjQ8WQnlr
@exploit_msf· Jan 27, 2026
@mijanhaque_ I think is CVE-2025-4123
@mr_kaito_kid· Nov 26, 2025
1 more posts on this CVEShowing 5 of 6 · Who is discussing this CVE, and how loudlyUnlock freeDetection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Grafana, Github.com/grafana/grafana.
- Monitor for scanner or exploit-pattern traffic after 54 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
- ip188.143.233.169
Zonefiles · Aug 26, 2020
- hostnamefinhub4-earum82.sbs71
Hole Cert · Aug 6, 2026
- hostname5eidure3.pics83
Hole Cert · Oct 21, 2026
- hostnamefinance97-labore34.space64
Hole Cert · Jul 23, 2026
- hostnamefinhub4-quo9.sbs64
Hole Cert · Jul 29, 2026
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 6.1 (AV:N)
Jun 17, 2026 · NVD
Cve is exploited Grafana 11.6.0 - SSRF
Apr 7, 2026 · SOCRadar CTI
Added · webapps entry: Grafana 11.6.0 - '/render/public' Server-Side Request Forgery (SSRF)
Apr 6, 2026 · Exploit-DB
- 2025
Cve is exploited NightBloodZ/CVE-2025-4123
Dec 20, 2025 · SOCRadar CTI
Cve is exploited MorphyKutay/CVE-2025-4123-Exploit
Oct 15, 2025 · SOCRadar CTI
Cve is exploited ItsNee/Grafana-CVE-2025-4123-POC
Sep 15, 2025 · SOCRadar CTI
Initial · CVE published
May 22, 2025 · NVD
Added · GHSA-q53q-gxq9-mgrj published (high)
May 22, 2025 · GitHub Security Advisory
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 19×SVRS was changedSep 5, 2025 – May 26, 2026 · SOCRadar CTI
- 13×Tweets · 1 time tweeted.Sep 4, 2025 – Jun 8, 2026 · SOCRadar CTI
- 2×Github ReposSep 12, 2025 – Oct 14, 2025 · SOCRadar CTI
- 1×2 times mentioned on 2 Telegram channelsJan 26, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Sep 3, 2025 · SOCRadar CTI
References
16 on the record
- grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580/
Vendor Advisory, NIST
- grafana.com/security/security-advisories/cve-2025-4123/
Vendor Advisory, NIST
- www.exploit-db.com/exploits/52491
Vendor Advisory, GITHUB, NIST
- nvd.nist.gov/vuln/detail/CVE-2025-4123
NVD
- github.com/grafana/grafana/commit/c7a690348df761d41b659224cbc50a46a0c0e4cc
Exploit, Third Party Advisory
- pkg.go.dev/vuln/GO-2025-3702
Vendor Advisory
- github.com/advisories/GHSA-q53q-gxq9-mgrj
Exploit, Third Party Advisory
- access.redhat.com/errata/RHSA-2025:7892
Vendor Advisory
Coverage
4 stories from the feeds we poll
CVE-2025-4123
vuldb.com · Apr 7, 2026
⚡ Weekly Recap: Chrome 0-Day, 7.3 Tbps DDoS, MFA Bypass Tricks, Banking Trojan and More - The Hacker News
thehackernews.com · Jun 23, 2025
NoiseLetter December 2025 - GreyNoise
greynoise.io · Jan 7, 2026
CVE-2025-41115: A Maximum-Severity Privilege Escalation Vulnerability in the Grafana SCIM Component - SOC Prime
socprime.com · Nov 24, 2025
Related CVEs
Same product first, then the same weakness or threat actor.
- CVE-2021-39226 Snapshot authentication bypass in grafanaCVSS 7.3 · CISA KEV
- CVE-2021-43798 Grafana path traversalCVSS 5.0 · CISA KEV
- CVE-2025-41115 Incorrect privilege assignmentCVSS 9.8
- CVE-2026-27876 RCE on Grafana via sqlExpressionsCVSS 9.1
- CVE-2024-9264 Grafana SQL Expressions allow for remote code executionCVSS 8.8
- CVE-2019-3929 Crestron Multiple Products Command Injection VulnerabilityCVSS 9.8 · CISA KEV
Elsewhere on this site
- Grafanaevery CVE for this vendor
- Goevery CVE for this vendor
- Grafanaevery page on this product
- Cross-site Scriptingsame class
- CWE-79other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2025-4123 is A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect, a medium vulnerability affecting Grafana, Github.com/grafana/grafana from Grafana, Go. The current evidence does not list it in CISA KEV, and the exploit status is: Exploitation is reported, but no independent confirmation is available in the sources we have. Public exploit evidence is: 54 public PoC repositories reported; 3 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 6.1 describes technical severity, while EPSS 97% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.