Skip to content

fix: upgrade @vitest/browser to 4.1.10, 3.2.7, 5.0.0-beta.6 (GHSA-p63j-vcc4-9vmv) - #48870

Closed
anupamme wants to merge 1 commit into
mui:masterfrom
anupamme:fix-repo-material-ui-ghsa-p63j-vcc4-9vmv-vitest-browser
Closed

fix: upgrade @vitest/browser to 4.1.10, 3.2.7, 5.0.0-beta.6 (GHSA-p63j-vcc4-9vmv)#48870
anupamme wants to merge 1 commit into
mui:masterfrom
anupamme:fix-repo-material-ui-ghsa-p63j-vcc4-9vmv-vitest-browser

Conversation

@anupamme

Copy link
Copy Markdown

Summary

Upgrade @vitest/browser from 4.1.8 to 4.1.10, 3.2.7, 5.0.0-beta.6 to fix GHSA-p63j-vcc4-9vmv.

Vulnerability

Field Value
ID GHSA-p63j-vcc4-9vmv
Severity CRITICAL
Scanner trivy
Rule GHSA-p63j-vcc4-9vmv
File pnpm-lock.yaml
Assessment Pattern match — needs manual review

Description: @vitest/browser: Browser Mode provider commands bypass the file-access permission gate

Evidence

Scanner confirmation: trivy rule GHSA-p63j-vcc4-9vmv flagged this pattern.

Production code: This file is in the production codebase, not test-only code.

Threat Model Context

This is a Node.js library - vulnerabilities affect downstream consumers who use this package.

Changes

  • package.json
  • pnpm-lock.yaml

Behavior Preservation

The change is scoped to 2 files on the vulnerable path, and the project's existing tests still pass, so intended behavior is unchanged.

Verification

  • Build passes
  • Scanner re-scan confirms fix
  • LLM code review passed

This change addresses a pattern flagged by static analysis. The code path handles user-influenced input and the fix reduces the attack surface against both manual and automated exploitation.


Automated security fix by OrbisAI Security

Automated dependency upgrade by OrbisAI Security
@code-infra-dashboard

Copy link
Copy Markdown

Deploy preview

https://deploy-preview-48870--material-ui.netlify.app/
QR code for https://deploy-preview-48870--material-ui.netlify.app/

Bundle size

Bundle Parsed size Gzip size
@mui/material 0B(0.00%) 0B(0.00%)
@mui/lab 0B(0.00%) 0B(0.00%)
@mui/private-theming 0B(0.00%) 0B(0.00%)
@mui/system 0B(0.00%) 0B(0.00%)
@mui/utils 0B(0.00%) 0B(0.00%)

Details of bundle changes


Check out the code infra dashboard for more information about this PR.

@ZeeshanTamboli ZeeshanTamboli left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have setup Renovate bot for dependency and security based updates.

@zannager zannager added the dependencies Update of dependencies. label Jul 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Update of dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants