SCA: security update for @vitest/mocker (GHSA-qxg6-89mg-rqv8)

medium Tenable Cloud Security Plugin ID 476584

Description

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

- Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 2.1.0-beta.7 until
4.1.12 and 5.0.3, an unauthenticated non-browser WebSocket client that can reach a development server
using interceptorPlugin can register a manual mock whose attacker-controlled url createManualModuleSource
inserts unescaped into generated module source. When the developer browser loads the affected module,
attacker-controlled JavaScript executes on the development-server origin. This issue is fixed in versions
4.1.12 and 5.0.3. (CVE-2026-112949)

Solution

Update the @vitest/mocker library and its related packages to version 4.1.12 or later.

See Also

https://github.com/advisories/GHSA-qxg6-89mg-rqv8

Plugin Details

Severity: Medium

ID: 476584

Version: Revision 1.1

Type: Local

Family: SCA Checks

Published: 10/22/2026

Updated: 10/22/2026

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 10.26

Vendor

Vendor Severity: Medium

CVSS v2

Risk Factor: Medium

Base Score: 4

Temporal Score: 3

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

CVSS Score Source: CVE-2026-112949

CVSS v3

Risk Factor: Medium

Base Score: 4.7

Temporal Score: 4.1

Vector: CVSS:3.0/AV:N/AC:H/PR:N/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: 10/21/2026

Vulnerability Publication Date: 10/20/2026

Reference Information

CVE: CVE-2026-112949