fix: bump vite to >=7.3.2 to resolve CVE-2026-39363 and CVE-2026-39364#255
Open
Hale730 wants to merge 1 commit into
Open
fix: bump vite to >=7.3.2 to resolve CVE-2026-39363 and CVE-2026-39364#255Hale730 wants to merge 1 commit into
Hale730 wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Upgrades vite from 7.3.1 to 7.3.2 to fix two HIGH severity CVEs that were blocking CI.
Why
The Semgrep security scan was blocking on:
fetchModule, letting unauthenticated attackers read arbitrary files from the hostserver.fs.deny, leaking sensitive files like.envvia query params like?rawor?import&rawBoth fixed in vite 7.3.2.
How
An override was already in
package.json("overrides": { "vite": "^8" }) but was never taking effect — pnpm v10 no longer reads overrides frompackage.json. The correct location ispnpm-workspace.yaml.overridesblock frompackage.jsonoverrides: { vite: ">=7.3.2" }topnpm-workspace.yamlpnpm-lock.yaml—[email protected]is gone, only7.3.2remainsStayed on 7.x rather than 8.x because
@vitejs/[email protected]only supports vite 4–7.