npmWorst: Moderate3 advisories

@vitest/mocker: known vulnerabilities

@vitest/mocker has 3 reviewed security advisories in the GitHub Advisory Database — 3 moderate. The most recent was published 2026-10-20. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the @vitest/mocker versions running across your servers, containers and images, and ranks what to patch first.

How to fix @vitest/mocker

Upgrade @vitest/mocker to a release at or above the fixed version shown for each advisory below. For npm:

npm install @vitest/mocker@5.0.3 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (3)

Vitest: Code injection via unauthenticated manual mock registration Moderate 4.7 CWE-116 CWE-306 CWE-94 — Affected: from 5.0.0-beta.1 up to 5.0.3. Fixed in 5.0.3. Published 2026-10-20. GHSA-qxg6-89mg-rqv8 · CVE-2026-112949
Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix Moderate 5.9 CWE-22 — Affected: from 5.0.0-rc.2 up to 5.0.3. Fixed in 5.0.3. Published 2026-10-20. GHSA-xp26-3454-mjgp · CVE-2026-112950
Vitest: Path Traversal / Arbitrary File Read via @vitest/mocker Redirect Mock Moderate 5.9 CWE-22 — Affected: from 5.0.0-beta.1 up to 5.0.0-rc.2. Fixed in 5.0.0-rc.2. Published 2026-09-01. GHSA-82fw-gwwq-j7x9 · CVE-2026-84373

Find @vitest/mocker across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.