Skip to content
Fencer Vulns
critical 9.6

CVE-2026-47428 json

Vitest browser mode serves unsanitized otelCarrier query parameter as inline script

published 2026-06-01 5 mo ago modified 2026-10-24 15 d ago also GHSA-2h32-95rg-cppp , EUVD-2026-44401

cvss
9.6
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.6%
EPSS 0.6% chance of exploitation in 30 days, percentile 47%
public exploits
0
none known

Summary

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.

Patch / fix

  • npm @vitest/browser 4.1.6, 5.0.0-beta.3
  • prometheus3.13 hummingbird 1 3.13.1-0.1.hum1

red hat advisories RHSA-2026:39058

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2026-47428 updated cvss 8.3

vitest: Vitest: Arbitrary code execution via crafted browser-runner URL

  • Red Hat Hardened Images prometheus3.13 3.13.1-0.1.hum1
    fixed: vendor fix RHSA-2026:39058
  • Red Hat AMQ Broker 7 vitest 1.3.1 Red Hat Ansible Automation Platform 2 ansible-automation-platform-26/gateway-rhel9, ansible-automation-platform-27/gateway-rhel9 Red Hat Build of Keycloak vitest 1.3.1 Red Hat Build of Podman Desktop rh-podman-desktop.git Red Hat JBoss Enterprise Application Platform 8 vitest 1.3.1 Red Hat OpenShift Container Platform 4 openshift4/ose-agent-installer-ui-rhel9
    +1 more products
    Red Hat OpenShift Container Platform 5 openshift5/ose-agent-installer-ui-rhel9
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
3 mo ago

Exploit prediction

0.58% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • github.com https://github.com/vitest-dev/vitest/security/advisories/GHSA-2h32-95rg-cppp referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub 3.1 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
npm @vitest/browser
>=4.0.17, <4.1.6
>=5.0.0-beta.0, <5.0.0-beta.3
4.1.6
5.0.0-beta.3

Affected products

  • vitest-dev vitest

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.