Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-q53q-gxq9-mgrj: Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin

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.

ghsa
#xss#vulnerability#web#git#java#ssrf
  1. GitHub Advisory Database
  2. GitHub Reviewed
  3. CVE-2025-4123

Grafana Cross-Site-Scripting (XSS) via custom loaded frontend plugin

High severity GitHub Reviewed Published May 22, 2025 to the GitHub Advisory Database • Updated May 22, 2025

Package

gomod github.com/grafana/grafana (Go)

Affected versions

< 0.0.0-20250521183405-c7a690348df7

Patched versions

0.0.0-20250521183405-c7a690348df7

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.

References

  • https://nvd.nist.gov/vuln/detail/CVE-2025-4123
  • https://grafana.com/security/security-advisories/cve-2025-4123
  • grafana/grafana@c7a6903

Published to the GitHub Advisory Database

May 22, 2025

Last updated

May 22, 2025

ghsa: Latest News

GHSA-c37v-3c8w-crq8: zot logs secrets