CVE-2025-4123
MediumExploitedPublic exploitGrafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin
Published May 22, 2025 · Updated Sep 10, 2026 · Also known as BIT-grafana-2025-4123, GHSA-q53q-gxq9-mgrj, GO-2025-3704, UBUNTU-CVE-2025-4123
Key Facts
Patch immediately- CVE-2025-4123 is a medium-severity vulnerability (CVSS 6.1 v3.1) affecting Grafana, grafana-fips-12.0 (chainguard), grafana-fips-12.1 (chainguard) and 8 more products.
- It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Jun 17, 2025. Public exploit code is available.
- EPSS estimates a 97% probability of exploitation in the next 30 days.
- Fixed versions are available, including github.com/grafana/grafana 0.0.0-20250521183405-c7a690348df7, govulncheck-vulndb 0.0.20250527T204717-1.1, Grafana 0:10.2.6-13.el9_6.
- Brandefense priority: patch immediately, because it is listed as exploited in the wild.
CVSS v3.1
6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS (30-day exploit likelihood)
97%
Higher than 99.8% of all scored CVEs
Exploited in the wild
Yes
2 catalog listings
Public exploit code
Available
Proof-of-concept or weaponized module
Get the full CVE-2025-4123 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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.
Known-Exploited Catalog Listings
| Catalog | Added | Remediation due | Ransomware use |
|---|---|---|---|
| Industry KEV feed | Jul 21, 2025 | n/a | Not reported |
| CIRCL KEV | Jun 17, 2025 | n/a | Not reported |
Required action: Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.
Affected Products
45 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| GrafanaGrafana | 10.4.18, 11.2.9, 11.3.6, 11.4.4, 11.5.4, 11.6.1, 12.0.0, >= 10.4.18+security-01 | 10.4.18 |
| grafana-fips-12.0chainguard | See advisory | 12.0.10-r6 |
| grafana-fips-12.1chainguard | See advisory | 12.1.10.01-r3 |
| grafana-fips-13.1chainguard | See advisory | 13.1.0-r0 |
| grafana-11.4minimos | See advisory | 11.4.4-r0 |
Patched Releases
github.com/grafana/grafana
0.0.0-20250521183405-c7a690348df7
govulncheck-vulndb
0.0.20250527T204717-1.1
Grafana
0:10.2.6-13.el9_6, 0:10.2.6-17.el10_0, 0:6.3.6-7.el8_2, 10.2.6-13.el9_6, 10.2.6-17.el10_0, 10.2.6-18.el10_0, 10.4.18, 11.6.1, 11.6.1+security01-1.1, 11.6.11-bp160.1.1, 12.0.0, 9.2.10-23.el8_10, 10.4.19, 11.2.10, 11.3.7, 11.4.5, 11.5.5, 11.6.2, 12.0.1
grafana-11.4
11.4.4-r0
grafana-11.5
11.5.4-r0
grafana-11.6
11.6.1-r0
grafana-fips-12.0
12.0.10-r6
grafana-fips-12.1
12.1.10.01-r3
grafana-fips-13.1
13.1.0-r0
grafana-selinux
10.2.6-13.el9_6, 10.2.6-18.el10_0, 9.2.10-23.el8_10
release-notes-susemanager
4.3.15.2-150400.3.133.1
Timeline
Publicly disclosed
May 22, 2025
Added to CIRCL KEV
Jun 17, 2025
Added to Industry KEV feed
Jul 21, 2025
Last updated
Sep 10, 2026
Weakness Type
- CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
- CWE-601 URL Redirection to Untrusted Site ('Open Redirect')
References
- advisoryRHSA-2025:7892
- advisoryRHSA-2025:7893
- advisoryRHSA-2025:7894
- advisoryRHSA-2025:8665
- advisoryRHSA-2025:8679
FAQ
Common Questions.
A cross-site scripting (XSS) vulnerability exists in Grafana caused by combining a client path traversal and open redirect.
Affected: Grafana versions 10.4.18, 11.2.9, 11.3.6, 11.4.4, 11.5.4, 11.6.1, 12.0.0, >= 10.4.18+security-01; grafana-fips-12.0 (chainguard); grafana-fips-12.1 (chainguard), among others. The full list is in the CVE brief.
It is exploited in the wild, listed in Industry KEV feed, CIRCL KEV since Jun 17, 2025.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
Public exploit code is available.
Fixed versions are available, including github.com/grafana/grafana 0.0.0-20250521183405-c7a690348df7, govulncheck-vulndb 0.0.20250527T204717-1.1, Grafana 0:10.2.6-13.el9_6.
Brandefense priority: patch immediately, because it is listed as exploited in the wild.
Is CVE-2025-4123 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo