CVE-2026-47428Vitest browser mode serves unsanitized otelCarrier query parameter as inline script
- 9.6CriticalCVSS base score
- 0.58%Exploitation in 30 daysEPSS · top 52% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- YesPublic exploitsa reference or SSVC says so
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
References tagged exploit1 reference
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp (opens in a new tab)x_refsource_CONFIRMexploit
Timeline
ID reserved
By GitHub_M
- 56 days later
· 56 days later
Published
- 1 day later
· 1 day later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVDNVD · Deferred | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.58% · top 52% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.6.
Affected products
- affected >= 4.0.17, < 4.1.6
- affected >= 5.0.0-beta.0, < 5.0.0-beta.3
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@vitest/browserGHSA-2h32-95rg-cppp (opens in a new tab)
References
References7
- https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp (opens in a new tab)x_refsource_CONFIRMexploit
- https://github.com/vitest-dev/vitest/pull/10283 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/pull/10285 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/18af98cee1830604d57f6a02bf28f8067cdffc06 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/commit/3514f9fa135c90e1c35754fc4d27c9cf351faafa (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v4.1.6 (opens in a new tab)x_refsource_MISC
- https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.3 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-44401 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-2h32-95rg-cppp (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-47428)Record last updated .