SCA: security update for @vitest/browser (GHSA-2h32-95rg-cppp)

critical Tenable Self-Hosted Container Security Plugin ID 496194

Description

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

- Vitest is a testing framework powered by Vite. From 4.0.17 until 4.1.6 and 5.0.0-beta.3, Vitest Browser
Mode served /__vitest_test__/ with the otelCarrier query parameter inserted directly into an inline module
script, allowing a crafted browser-runner URL to execute arbitrary JavaScript in the Vitest server origin
and recover VITEST_API_TOKEN for authenticated API calls. This issue is fixed in versions 4.1.6 and
5.0.0-beta.3. (CVE-2026-47428)

Solution

Update the @vitest/browser library and its related packages to version 4.1.6 or later.

See Also

https://github.com/advisories/GHSA-2h32-95rg-cppp

Plugin Details

Severity: Critical

ID: 496194

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 12/3/2026

Updated: 12/3/2026

Risk Information

VPR

Risk Factor: Medium

Score: 5

Percentile: 94.32

Vendor

Vendor Severity: Critical

CVSS v2

Risk Factor: Critical

Base Score: 10

Temporal Score: 7.4

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

CVSS Score Source: CVE-2026-47428

CVSS v3

Risk Factor: Critical

Base Score: 9.6

Temporal Score: 8.3

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

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

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 6/1/2026

Vulnerability Publication Date: 6/1/2026

Reference Information

CVE: CVE-2026-47428

cwe: CWE-79