CVE-2026-47428

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.
Configurations

No configuration.

History

15 Jul 2026, 14:18

Type Values Removed Values Added
References () https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp - () https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp -

14 Jul 2026, 20:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-14 20:17

Updated : 2026-07-15 20:23


NVD link : CVE-2026-47428

Mitre link : CVE-2026-47428

CVE.ORG link : CVE-2026-47428


JSON object : View

Products Affected

No product.

CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')