CVE-2026-47428
Received
Received - Intake
BaseFortify
Vulnerability report for CVE-2026-47428, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.
Publication date: 2026-07-14
Last updated on: 2026-07-14
Assigner: GitHub, Inc.
Description
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| vitest | vitest | to 4.1.6 (inc) |
| vitest | vitest | 5.0.0-beta.3 |
| vitest-dev | vitest | From 4.0.17 (inc) to 4.1.6 (exc) |
| vitest-dev | vitest | 4.1.6 |
| vitest-dev | vitest | 5.0.0-beta.3 |
| vitest-dev | vitest | From 5.0.0-beta.0 (inc) to 5.0.0-beta.3 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-79 | The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. |