CVE-2025-4123
Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin
Öffentlicher Exploit-Code
Für diese Schwachstelle wurde funktionierender Exploit- oder Proof-of-Concept-Code veröffentlicht. Betrachte ungepatchte Systeme als gefährdet.
- Grafana 11.6.0 - SSRF2026-04-06 · webapps · multiple
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, ohne Anmeldung, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, geringes Risiko, dass Daten oder Systeme verändert werden, geringes Risiko für Ausfälle.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben in |
|---|---|---|---|
| go | github.com/grafana/grafana | < 0.0.0-20250521183405-c7a690348df7 | 0.0.0-20250521183405-c7a690348df7 |
Betroffene Produkte · Grafana
| Produkt | Betroffene Versionen |
|---|---|
| Grafana | vor 10.4.18 ab 11.2.0 vor 11.2.9 ab 11.3.0 vor 11.3.6 ab 11.4.0 vor 11.4.4 ab 11.5.0 vor 11.5.4 ab 11.6.0 vor 11.6.1 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- GitHub-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/
- https://grafana.com/security/security-advisories/cve-2025-4123/
- https://www.exploit-db.com/exploits/52491
- https://github.com/advisories/GHSA-q53q-gxq9-mgrj
- https://nvd.nist.gov/vuln/detail/CVE-2025-4123
- https://grafana.com/security/security-advisories/cve-2025-4123
- https://github.com/grafana/grafana/commit/c7a690348df761d41b659224cbc50a46a0c0e4cc
- https://pkg.go.dev/vuln/GO-2025-3702
- https://grafana.com/blog/2025/05/23/grafana-security-release-medium-and-high-severity-security-fixes-for-cve-2025-4123-and-cve-2025-3580