Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 20, 2025

This PR contains the following updates:

Package Type Update Change OpenSSF
vite (source) devDependencies patch 7.1.9 -> 7.1.11 OpenSSF Scorecard

GitHub Vulnerability Alerts

CVE-2025-62522

Summary

Files denied by server.fs.deny were sent if the URL ended with \ when the dev server is running on Windows.

Impact

Only apps that match the following conditions are affected:

  • explicitly exposes the Vite dev server to the network (using --host or server.host config option)
  • running the dev server on Windows

Details

server.fs.deny can contain patterns matching against files (by default it includes .env, .env.*, *.{crt,pem} as such patterns). These patterns were able to bypass by using a back slash(\). The root cause is that fs.readFile('/foo.png/') loads /foo.png.

PoC

npm create vite@latest
cd vite-project/
cat "secret" > .env
npm install
npm run dev
curl --request-target /.env\ http://localhost:5173
image

Release Notes

vitejs/vite (vite)

v7.1.11

Compare Source

Bug Fixes
Miscellaneous Chores
Code Refactoring
Build System

v7.1.10

Compare Source

Bug Fixes
Documentation
Miscellaneous Chores

Configuration

📅 Schedule: Branch creation - "" in timezone Europe/Berlin, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner October 20, 2025 23:00
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 4 times, most recently from 7f8beb1 to 2300fca Compare November 3, 2025 15:04
@FabianWilms FabianWilms enabled auto-merge November 3, 2025 15:08
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 2300fca to 224d620 Compare November 3, 2025 15:08
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 224d620 to 4eb0130 Compare November 3, 2025 15:11
@FabianWilms FabianWilms merged commit fcc2f1a into beta Nov 3, 2025
9 checks passed
@FabianWilms FabianWilms deleted the renovate/npm-vite-vulnerability branch November 3, 2025 15:13
@github-actions
Copy link

github-actions bot commented Nov 4, 2025

🎉 This PR is included in version 6.2.0-beta.2 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants