SCA: security update for github.com/grafana/grafana (GHSA-q53q-gxq9-mgrj)

medium Tenable Cloud Security Plugin ID 428276

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2025-4123)

Solution

Update the github.com/grafana/grafana library and its related packages to version 0.0.0-20250521183405-c7a690348df7 or later.

See Also

https://github.com/advisories/GHSA-q53q-gxq9-mgrj

Plugin Details

Severity: Medium

ID: 428276

Version: Revision 1.22

Type: Local

Family: SCA Checks

Published: 7/2/2025

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.39

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2025-4123

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 5/22/2025

Vulnerability Publication Date: 2/6/2025

Reference Information

CVE: CVE-2025-4123

cwe: CWE-79