CVE-2025-4123: grafana Cross-site Scripting
Vulnerability summary
CVE-2025-4123 is a high (CVSS 7.6) Cross-site Scripting vulnerability in grafana. EPSS estimates a 97.08% chance of exploitation in the next 30 days, higher than 99.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 6 · Related 6Timeline
- 22-05-2025PublishedVulnerability first disclosed.
- 29-04-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 6 sources · 1 version- OSV · Red hatEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- OSV · UbuntuEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
- OSV · GoEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- OSV · ChainguardEcosystem advisory · calculated7.6HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:L/A:L
- NVDNIST6.1MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NDiffers
EPSS trend
Probability
97.08%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
+0.08 pp
From 97.01% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundGrafana 11.6.0 - SSRF
Maturity: poc
Weaknesses
CWE · root cause- CWE-79Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
- CWE-601URL Redirection to Untrusted Site ('Open Redirect')The web application accepts a user-controlled input that specifies a link to an external site, and uses that link in a redirect.
Affected systems
Redhat16 products
- grafana< 0:10.2.6-17.el10_0 | < 0:10.2.6-13.el9_6 | < 0:9.2.10-23.el8_10 | < 0:7.5.11-6.el8_6 | < 0:7.5.11-10.el9_0 | < 0:7.3.6-9.el8_4 | < 0:6.3.6-7.el8_2
- grafana-azure-monitor< 0:6.3.6-7.el8_2
- grafana-cloudwatch< 0:6.3.6-7.el8_2
- grafana-debuginfo< 0:10.2.6-17.el10_0 | < 0:10.2.6-13.el9_6 | < 0:9.2.10-23.el8_10 | < 0:7.5.11-6.el8_6 | < 0:7.5.11-10.el9_0 | < 0:7.3.6-9.el8_4 | < 0:6.3.6-7.el8_2
- grafana-debugsource< 0:10.2.6-17.el10_0 | < 0:10.2.6-13.el9_6 | < 0:9.2.10-23.el8_10
Chainguard8 products
- grafana-fips-11.6All versions (No fix recorded)
- grafana-fips-12.0< 12.0.10-r6
- grafana-fips-12.1< 12.1.10.01-r3
- grafana-fips-12.2All versions (No fix recorded)
- grafana-fips-12.3All versions (No fix recorded)
Github.com/grafana1 product
- grafana< 0.0.0-20250521183405-c7a690348df7 | All versions (No fix recorded)
Grafana1 product
- grafanaEOL≥ 10.4.18+security-01, < 10.4.19 | ≥ 11.2.9+security-01, < 11.2.10 | ≥ 11.3.6+security-01, < 11.3.7 | ≥ 11.4.4+security-01, < 11.4.5 | ≥ 11.5.4+security-01, < 11.5.5 | ≥ 11.6.1+security-01, < 11.6.2 | ≥ 12.0.0+security-01, < 12.0.1 | < 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 | 10.4.18 | 11.2.9 | 11.3.6 | 11.4.4 | 11.5.4 | 11.6.1 | 12.0.0
Ubuntu1 product
- grafanaAll versions (No fix recorded)
5 vendors · 27 products
References
32 linksShow all 32 references
- github.com/grafana/grafanaPACKAGE