CVE-2026-112949
Last modified
CVE-2026-112949 is a medium-severity vulnerability rated 4.7/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| vitest-dev | vitest | >= 2.1.0-beta.7, < 4.1.12; >= 5.0.0, < 5.0.3 |
| @vitest | mocker | >= 2.1.0-beta.7, < 4.1.12; >= 5.0.0, < 5.0.3 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-112949?
How severe is CVE-2026-112949?
How do I fix CVE-2026-112949?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-112943launch-editor allows users to open files with line numbers i…6.3
- CVE-2026-112944launch-editor allows users to open files with line numbers i…6.3
- CVE-2026-112945Vite is a frontend tooling framework for JavaScript. Prior t…2.1
- CVE-2026-112946Vite is a frontend tooling framework for JavaScript. Prior t…6.3
- CVE-2026-112947Vite is a frontend tooling framework for JavaScript. From 8.…6.3
- CVE-2026-112948Vitest is a testing framework powered by Vite. From 5.0.0-be…6.5
- CVE-2026-11295Inappropriate implementation in WebView in Google Chrome on …8.8
- CVE-2026-112950Vitest is a Vite-native testing framework for JavaScript and…5.9
- CVE-2026-112951ApostropheCMS is an open-source Node.js content management s…5.4
- CVE-2026-112952ApostropheCMS is an open-source Node.js content management s…4.3
- CVE-2026-112953ApostropheCMS is an open-source Node.js content management s…6
- CVE-2026-112954ApostropheCMS is an open-source Node.js content management s…5.3
Are you affected by CVE-2026-112949?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
