CVE-2025-4123 in Grafana
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...
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no authentication required, requires user interaction, can impact systems beyond the vulnerable component, no availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Grafana | Grafana | 10.4.18 11.2.9 11.3.6 11.4.4 11.5.4 11.6.1+7 more12.0.0 < 10.4.18 ≥ 11.2.0, < 11.2.9 ≥ 11.3.0, < 11.3.6 ≥ 11.4.0, < 11.4.4 ≥ 11.5.0, < 11.5.4 ≥ 11.6.0, < 11.6.1 |
| Sick | Incoming Goods Suite | < 1.2.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-4123 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-160716-M |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Published | 2025-05-22 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-79: Cross-Site Scripting (XSS)
Attacker injects malicious scripts into web pages viewed by other users, executing in the victim's browser context.
CWE-601: CWE-601
Related attack patterns (CAPEC)
CAPEC-85 AJAX Footprinting via CWE-79
CAPEC-178 Cross-Site Flashing via CWE-601
CAPEC-209 XSS Using MIME Type Mismatch via CWE-79
CAPEC-588 DOM-Based XSS via CWE-79
CAPEC-591 Reflected XSS via CWE-79
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A cross-site scripting (XSS) vulnerability in Grafana allows attackers to redirect users to a malicious website that can execute arbitrary JavaScript, leveraging client path traversal and open redirect.
The vulnerability combines client path traversal and open redirect to redirect users to a frontend plugin hosted on a malicious website, which can execute arbitrary JavaScript. This can occur even if anonymous access is enabled.
Questions
What is CVE-2025-4123?
A cross-site scripting (XSS) vulnerability in Grafana allows attackers to redirect users to a malicious website that can execute arbitrary JavaScript, leveraging client path traversal and open redirect.
What is the CVSS score for CVE-2025-4123?
CVE-2025-4123 has CVSS 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N. EPSS: 8.6%.
Is CVE-2025-4123 actively exploited?
Public exploit available for CVE-2025-4123. Exploitation risk elevated.
How do I remediate CVE-2025-4123?
Priority: HIGH. Advisory: https://grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580/ PSIRT: [email protected]
What systems are affected by CVE-2025-4123?
CVE-2025-4123 affects Grafana Grafana.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Grafana","product":"Grafana","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.