SCA: security update for github.com/grafana/grafana (GHSA-xw5p-hw8j-xg4q)

medium Tenable Cloud Security Plugin ID 420703

Description

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

- Grafana is an open-source platform for monitoring and observability. Starting with the 7.0 branch, Grafana
had a stored XSS vulnerability in the trace view visualization. The stored XSS vulnerability was possible
due the value of a span's attributes/resources were not properly sanitized and this will be rendered when
the span's attributes/resources are expanded. An attacker needs to have the Editor role in order to change
the value of a trace view visualization to contain JavaScript. This means that vertical privilege
escalation is possible, where a user with Editor role can change to a known password for a user having
Admin role if the user with Admin role executes malicious JavaScript viewing a dashboard. Users may
upgrade to version 8.5.21, 9.2.13 and 9.3.8 to receive a fix. (CVE-2023-0594)

See Also

https://github.com/advisories/GHSA-xw5p-hw8j-xg4q

Plugin Details

Severity: Medium

ID: 420703

Version: Revision 1.4

Type: Local

Family: SCA Checks

Published: 1/23/2025

Updated: 7/2/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.09

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 5.5

Temporal Score: 4.1

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

CVSS Score Source: CVE-2023-0594

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 3/1/2023

Vulnerability Publication Date: 3/1/2023

Reference Information

CVE: CVE-2023-0594

cwe: CWE-79