vitest-ui

Ecosystem: npm

Downloads:

Vulnerabilities from the last (months)
  • 0CriticalAffects 0 versions
  • 0HighAffects 0 versions
  • 0MediumAffects 0 versions
  • 1ModerateAffects 1 version
  • 0LowAffects 0 versions
Severity distribution (all time)
1vulnerability
  • Critical0 (0.0%)
  • High0 (0.0%)
  • Medium0 (0.0%)
  • Moderate1 (100.0%)
  • Low0 (0.0%)

Monthly breakdown

  • 1 vulnerabilities
    • Critical: 0
    • High: 0
    • Medium: 0
    • Moderate: 1
    • Low: 0

Vulnerabilities (1)

Known vulnerabilities affecting vitest-ui, based on data from OSV.

Vulnerabilities affecting vitest-ui
IDSeveritySummaryAffected versionsPublishedSource
GHSA-p458-7748-mcp3ModerateVitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file### Summary In Vitest 5, Vite's `server.fs.deny` is not applied as intended on Vitest's dev servers. Depending on the server, files that Vite refuses to serve by default (such as `.env`, private keys and certificates, `.npmrc`, and `.git`) or Vitest's own API token file (`.vitest-secret-token`) can be read over plain HTTP by a client that can reach the server. In Browser Mode with `test.projects`, a malicious website can also read `.env` values through the developer's browser. This only applies when Vitest runs an HTTP server, which happens with the UI (`--ui`), Browser Mode, or `api` enable
  • >= 5.0.0-beta.6, < 5.0.5
GitHub (opens in a new tab)
  • GHSA-p458-7748-mcp3Moderate
    Vitest: Servers misapply `server.fs.deny`, serving `.env`, private keys, `.git`, and the API token file
    • >= 5.0.0-beta.6, < 5.0.5

    ### Summary In Vitest 5, Vite's `server.fs.deny` is not applied as intended on Vitest's dev servers. Depending on the server, files that Vite refuses to serve by default (such as `.env`, private keys and certificates, `.npmrc`, and `.git`) or Vitest's own API token file (`.vitest-secret-token`) can be read over plain HTTP by a client that can reach the server. In Browser Mode with `test.projects`, a malicious website can also read `.env` values through the developer's browser. This only applies when Vitest runs an HTTP server, which happens with the UI (`--ui`), Browser Mode, or `api` enable

    CVE: CVE-2026-112948

Showing 1-1 of 1 vulnerabilities