Cross-site Scripting (XSS) Affecting grafana package, versions <0:10.2.6-13.el9_6


Severity

Recommended
0.0
high
0
10

Based on Red Hat Enterprise Linux security rating.

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
3.18% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-RHEL9-GRAFANA-10183716
  • published19 May 2025
  • disclosed15 May 2025

Introduced: 15 May 2025

NewCVE-2025-4123  (opens in a new tab)
CWE-79  (opens in a new tab)

How to fix?

Upgrade RHEL:9 grafana to version 0:10.2.6-13.el9_6 or higher.
This issue was patched in RHSA-2025:7893.

NVD Description

Note: Versions mentioned in the description apply only to the upstream grafana package and not the grafana package as distributed by RHEL. See How to fix? for RHEL:9 relevant fixed versions and status.

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 Base Scores

version 3.1