SCA: security update for vega, vega-selections (GHSA-mp7w-mhcv-673j)

medium Tenable Cloud Security Plugin ID 420905

Description

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

- Vega is a visualization grammar, a declarative format for creating, saving, and sharing interactive
visualization designs. Prior to version 5.26.0 of vega and 5.4.2 of vega-selections, the
`vlSelectionTuples` function can be used to call JavaScript functions, leading to cross-site
scripting.`vlSelectionTuples` calls multiple functions that can be controlled by an attacker, including
one call with an attacker-controlled argument. This can be used to call `Function()` with arbitrary
JavaScript and the resulting function can be called with `vlSelectionTuples` or using a type coercion to
call `toString` or `valueOf`. Version 5.26.0 of vega and 5.4.2 of vega-selections fix this issue.
(CVE-2025-25304)

See Also

https://github.com/advisories/GHSA-mp7w-mhcv-673j

Plugin Details

Severity: Medium

ID: 420905

Version: Revision 1.8

Type: Local

Family: SCA Checks

Published: 2/14/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.07

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4.3

Temporal Score: 3.2

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

CVSS Score Source: CVE-2025-25304

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

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:U/RL:O/RC:C

CVSS v4

Risk Factor: Medium

Base Score: 6.9

Threat Score: 2.7

Threat Vector: CVSS:4.0/E:U

Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 2/14/2025

Vulnerability Publication Date: 2/14/2025

Reference Information

CVE: CVE-2025-25304

cwe: CWE-79