Approved changes feed: RSS · Atom

cpe:2.3:a:@vitest:mocker:*:*:*:*:*:*:*:*

part: a version: * update: *

Vendor@Vitest (dab8cf3a-3f69-5da0-89b1-fb6e688d37fb)
ProductMocker (6522397b-3c0d-582a-aaa0-5c21f0a522a6)
Edition*
Language*
Software edition*
Target software*
Target hardware*
Other*

Notes

Imported from gcve-enriched-dumps CVE data

PURL mappings

PURLSourceLast updated
No PURL mappings for this CPE yet.

Vulnerability references

IdentifiercpeApplicabilitySubmitteddb.gcve.eu detailsRationale
CVE:CVE-2026-112950 vulnerable 2026-11-03 10:16:28.377670 Vitest: Windows backslash traversal bypasses the @vitest/mocker redirect allowlist fix
MEDIUM (5.9)
Vitest is a Vite-native testing framework for JavaScript and TypeScript projects. From 4.1.11 until 4.1.12 and 5.0.3, isFileLoadingAllowed and the filesystem read interpret backslashes differently on Windows in packages/mocker/src/node/interceptorPlugin.ts. When a client can reach the Vite dev server on Windows and register a redirect mock containing backslash traversal, POSIX joining preserves a Windows backslash traversal that the later filesystem read interprets as a path separator, so the client can read a file outside server.fs.allow that the Vitest process can access. This issue is fixed in versions 4.1.12 and 5.0.3.
Published: 2026-10-20T15:21:32.396Z
Updated: 2026-10-28T14:04:58.744Z
Reference links
Imported from gcve-enriched-dumps CVE data
CVE:CVE-2026-112949 vulnerable 2026-11-03 10:16:28.183039 Vitest: Code injection via unauthenticated manual mock registration
MEDIUM (4.7)
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.
Published: 2026-10-20T15:19:03.799Z
Updated: 2026-10-23T01:42:51.858Z
Reference links
Imported from gcve-enriched-dumps CVE data

Contribute

You can submit an edit proposal for this CPE entry or suggest a related product/vendor addition using the action button above.

Inspect record JSON

Open JSON directly

Open this panel to browse, search, copy or download the JSON record.