CVE-2025-4123
grafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect
Exploitation confirmed. First attested on 2025-06-17 by ENISA EUVD, GCVE · enisa-cnw-kev, GCVE · previdian, GCVE · shadowserver.
- Published2025-05-22
- Fixed in12.0.0 · 11.6.1 · 11.5.4 · 11.4.4 · 11.3.6 · 11.2.9
- WeaknessCWE-601 · CWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2025-05-2208:15CVE publishedNVD
- 2025-06-1715:00Listed as exploited by GCVEGCVE
- 2025-06-1715:00Exploitation first reportedGCVE
- 2026-04-06Exploit-DB entryExploit-DB
- 2026-11-23Reported as exploited by ENISA (EUVD)ENISA EUVD
- 2026-12-0204:55EPSS crossed 10 %FIRST EPSS
Versions per branch
OSV · NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 12.0 | ≥ 12.0.0, < 12.0.0 | 12.0.0 | OSV |
| 11.6 | ≥ 11.6.0, < 11.6.1 | 11.6.1 | NVD |
| 11.x | ≥ 11.0.0, < 11.6.1 | 11.6.1 | OSV |
| 11.5 | ≥ 11.5.0, < 11.5.4 | 11.5.4 | NVD |
| 11.4 | ≥ 11.4.0, < 11.4.4 | 11.4.4 | NVD |
| 11.3 | ≥ 11.3.0, < 11.3.6 | 11.3.6 | NVD |
| 11.2 | ≥ 11.2.0, < 11.2.9 | 11.2.9 | NVD |
| 10.4 | < 10.4.18 | 10.4.18 | NVD · OSV |
| 10.4 | = 10.4.18 | no fix published | NVD |
| 11.2 | = 11.2.9 | no fix published | NVD |
| 11.3 | = 11.3.6 | no fix published | NVD |
| 11.4 | = 11.4.4 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 0.0 | < 0.0.0-20250521183405-c7a690348df7 | 0.0.0-20250521183405-c7a690348df7 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GRAFANA, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- Grafanaother versions: not affectedAffected
- ≥ 10.4.18+security-01, < 10.4.19fixed in 10.4.19semver
- ≥ 11.2.9+security-01, < 11.2.10fixed in 11.2.10semver
- ≥ 11.3.6+security-01, < 11.3.7fixed in 11.3.7semver
- ≥ 11.4.4+security-01, < 11.4.5fixed in 11.4.5semver
- ≥ 11.5.4+security-01, < 11.5.5fixed in 11.5.5semver
- ≥ 11.6.1+security-01, < 11.6.2fixed in 11.6.2semver
- ≥ 12.0.0+security-01, < 12.0.1fixed in 12.0.1semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2025-07-18
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- govulncheck-vulndbopenSUSE:Tumbleweedall versions · fixed in 0.0.20250527T204717-1.1
- grafanaUbuntu:16.04:LTSall versions · no fixed version listed
- grafanaRocky Linux:10all versions · fixed in 0:10.2.6-17.el10_0
- grafanaRocky Linux:9all versions · fixed in 0:10.2.6-13.el9_6
- grafanaRocky Linux:8all versions · fixed in 0:9.2.10-23.el8_10
- grafanaRed Hat:rhel_tus:8.8::appstreamall versions · fixed in 0:7.5.15-7.el8_8and 1 other package
- grafanaRed Hat:rhel_tus:8.6::appstreamall versions · fixed in 0:7.5.11-6.el8_6and 1 other package
- grafanaRed Hat:rhel_eus:9.4::appstreamall versions · fixed in 0:9.2.10-23.el9_4and 3 other packages
23 more package ranges on OSV.dev
Vendor advisories
grafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect
Red Hat Security Advisory: grafana security update
Red Hat Security Advisory: grafana security update
Red Hat Security Advisory: grafana security update
Red Hat Security Advisory: grafana security update
Red Hat Security Advisory: grafana security update
5 more advisories
Fix
- Update Grafana to 12.0.0 · 11.6.1 · 11.5.4 · 11.4.4 · 11.3.6 · 11.2.9 · 10.4.18
- Vendor fix Red Hat Product Security RHSA-2025:8680 · 13 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2025:8680 · 13 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
Advisories and patches
- grafana.comVendor Advisory
- grafana.comVendor Advisory
Detection
read 2026-11-26 11:35 UTC- Nuclei template
- available ProjectDiscovery
- Proof of concept
- PoC-in-GitHub6 repositories, unverifiedknown since 2026-11-26NightBloodZ/CVE-2025-4123imbas007/CVE-2025-4123-templateynsmroztas/CVE-2025-4123-Exploit-Tool-Grafana-punitdarji/Grafana-cve-2025-4123ItsNee/Grafana-CVE-2025-4123-POC
- Metasploit modules
- none listed Metasploit Framework
Sources
- ENISA EUVDexploitation2026-11-232026-11-23
- GCVEexploitation2025-06-17
- CISA-ADPSSVC decisionnone2025-05-22
- CNACVSS 3.17.6known since 2026-10-23
- NVDCVSS 3.16.1read 2026-10-23
- CNAweakness (CWE)CWE-601, CWE-79known since 2026-10-23
- FIRST EPSSEPSS score97.4 %read 2026-12-04
- PoC-in-GitHubproof of concept6known since 2026-11-26
- Exploit-DBdetectionread 2026-12-04
- ProjectDiscoverydetectionread 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2025-05-22
Identifiers
- BIT-grafana-2025-4123same flawBitnami · Apache-2.0
- CGA-29cp-fr2m-g875same flawChainguard · CC-BY-NC-ND-4.0
- CGA-35g9-rpmp-xvvqsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hmp-c74v-3ph5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3hvq-68xw-7c5msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3rmq-4rp5-q2x7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3vjq-569m-j7wfsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-52h5-wq4x-3jhvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-58j4-pw95-75fmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-64hc-3r5q-2933same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6qr6-q7hj-66vrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6rhg-q924-rg2hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-79cg-qhrj-76ppsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8429-ghpm-f8pmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-87v7-vvjm-5qqhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-8h8f-3jxm-4h9vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-94pf-8vwx-j25jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9rjm-x7jm-qv45same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9xrm-2v95-458vsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c2vg-cvr7-rvqmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c783-qmmr-w2w6same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c7mw-r2c7-hhhhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cc5j-gwmc-c8hpsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-ff2p-jhvg-h84hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fgpx-fcc6-5mxhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fm29-hv26-3765same flawChainguard · CC-BY-NC-ND-4.0
- CGA-frhc-9c9w-6p79same flawChainguard · CC-BY-NC-ND-4.0
- CGA-gwf8-cjg3-6f3csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h46g-fcpj-pmm4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jx2j-8cmp-3rwjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-m3f4-g77g-7x44same flawChainguard · CC-BY-NC-ND-4.0
- CGA-mqgf-vg7c-pmx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pj32-cpcw-4mq2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-qq53-c7wv-m2rgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v9wc-97gv-v565same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vcp7-h7v3-fcw9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vhg3-cf44-r696same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wf5r-6wfm-8grgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-wrm9-qxjc-vhj8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-x548-pr57-mwq8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-x6v3-7978-hgw3same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2025-16107same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-q53q-gxq9-mgrjsame flawGitHub Advisory Database · CC-BY-4.0
- GO-2025-3704same flawGo Vulnerability Database · CC-BY-4.0
- MINI-2h6v-mc85-j229same flawMinimOS · LicenseRef-unstated
- MINI-3fxc-q25m-38gjsame flawMinimOS · LicenseRef-unstated
- MINI-3wpq-2h2r-qrmmsame flawMinimOS · LicenseRef-unstated
- MINI-4vcm-q2c7-hrvxsame flawMinimOS · LicenseRef-unstated
- MINI-75rj-9888-x963same flawMinimOS · LicenseRef-unstated
- MINI-7rmx-j6h7-w7crsame flawMinimOS · LicenseRef-unstated
Technical details
- CVSS v3 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
- NVD status
- Modified
- GitHub advisory
- GHSA-q53q-gxq9-mgrj
Frequently asked questions
What is CVE-2025-4123?
Is CVE-2025-4123 actively exploited?
What is the CVSS score for CVE-2025-4123?
Running Grafana? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-q53q-gxq9-mgrj
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OpenCVE · OpenCVE terms of service · terms restrict redistribution
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0