vulnerability

Red Hat: CVE-2025-4123: grafana: Cross-site Scripting (XSS) in Grafana via Custom Frontend Plugins and Open Redirect (Multiple Advisories)

Severity
9
CVSS
(AV:N/AC:L/Au:N/C:C/I:P/A:P)
Published
May 15, 2025
Added
May 20, 2025
Modified
Jun 10, 2025

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.

Solution(s)

redhat-upgrade-grafanaredhat-upgrade-grafana-debuginforedhat-upgrade-grafana-debugsourceredhat-upgrade-grafana-selinux
Title
NEW

Explore Exposure Command

Confidently identify and prioritize exposures from endpoint to cloud with full attack surface visibility and threat-aware risk context.