Skip to content

fix(deps): upgrade vite to 5.4.21 to patch 4 CVEs#4

Merged
ashercoren merged 1 commit intomainfrom
fix/vite-cve-upgrade
Apr 12, 2026
Merged

fix(deps): upgrade vite to 5.4.21 to patch 4 CVEs#4
ashercoren merged 1 commit intomainfrom
fix/vite-cve-upgrade

Conversation

@ashercoren
Copy link
Copy Markdown
Member

Summary

Upgrades vite from 5.4.14 to 5.4.21 in vim--base-app-template--react to address four CVEs, one of which is actively exploited in the wild.

CVE Severity Description
CVE-2025-31125 Critical Access control bypass — actively exploited in the wild
CVE-2025-30208 High File content disclosure
CVE-2025-31486 High File access bypass
CVE-2025-46565 High Path traversal

Changes

  • package.json: bumped vite range from ^5.4.1 to ^5.4.21
  • package-lock.json: updated lock to resolve to 5.4.21

Test plan

  • npm run build passes
  • npm run dev starts without errors

@ashercoren ashercoren requested a review from a team as a code owner April 12, 2026 11:37
Bumps vite from 5.4.14 to 5.4.21 to address:
- CVE-2025-31125 (access control bypass, exploited in the wild)
- CVE-2025-30208 (file content disclosure)
- CVE-2025-31486 (file access bypass)
- CVE-2025-46565 (path traversal)
@ashercoren ashercoren force-pushed the fix/vite-cve-upgrade branch from 86ab14d to b5d0ecf Compare April 12, 2026 11:38
@ashercoren ashercoren merged commit d1fc545 into main Apr 12, 2026
1 check passed
@ashercoren ashercoren deleted the fix/vite-cve-upgrade branch April 12, 2026 11:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant