9.6

CVE-2026-47428: Vitest browser mode serves unsanitized otelCarrier query parameter as inline script

Deferred
AliasesGHSA-2h32-95rg-cppp
Published 14-07-2026Last modified 15-07-2026

Vulnerability summary

CVE-2026-47428 is a critical (CVSS 9.6) vulnerability in vitest-dev vitest. EPSS estimates a 0.58% chance of exploitation in the next 30 days, higher than 49.1% of scored vulnerabilities.

Priority
Prioritisesevere

Severe, CVSS 9.6 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)

CIRCL last checked 05-12-2026

Source freshness unavailable

How is this decided?
CVSS score
9.6/10
010
Critical · v3.1 (CVE.org)
EPSS score
0.58%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1

Timeline

  1. 14-07-2026
    PublishedVulnerability first disclosed.
  2. 15-07-2026
    Last modifiedVulnerability information updated.

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 metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.58%

Chance of exploitation in the next 30 days

Percentile

49%

Versus all other CVEs

30-day change

No change 0.00 pp

From 0.58% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

@vitest1 product
  • browser≥ 4.0.17, < 4.1.6 | ≥ 5.0.0-beta.0, < 5.0.0-beta.3
Vitest-dev1 product
  • vitest≥ 4.0.17, < 4.1.6 | ≥ 5.0.0-beta.0, < 5.0.0-beta.3

2 vendors · 2 products

References

10 links