CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"vitest","vendor":"vitest-dev","versions":[{"status":"affected","version":">= 4.0.17, < 4.1.6"},{"status":"affected","version":">= 5.0.0-beta.0, < 5.0.0-beta.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.6,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-79","description":"CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/problemTypes/0/descriptions/0
Source references
8 source assertions{"name":"https://github.com/vitest-dev/vitest/commit/18af98cee1830604d57f6a02bf28f8067cdffc06","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/18af98cee1830604d57f6a02bf28f8067cdffc06"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/3
{"name":"https://github.com/vitest-dev/vitest/commit/3514f9fa135c90e1c35754fc4d27c9cf351faafa","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/commit/3514f9fa135c90e1c35754fc4d27c9cf351faafa"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/4
{"name":"https://github.com/vitest-dev/vitest/pull/10283","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10283"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/1
{"name":"https://github.com/vitest-dev/vitest/pull/10285","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/pull/10285"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/2
{"name":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.6","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v4.1.6"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/5
{"name":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.3","tags":["x_refsource_MISC"],"url":"https://github.com/vitest-dev/vitest/releases/tag/v5.0.0-beta.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/6
{"tags":["exploit"],"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/adp/0/references/0
{"name":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:ab5a3fb205e5f142592d9cf1b80a392c0e812b4ceb4503ee2bfdd5ba140105c6 · sha256:f2985bdcdf4a26f9… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.