Skip to content

chore(deps): update dependency vite to v5.4.21 [security] - autoclosed#741

Closed
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-vite-vulnerability
Closed

chore(deps): update dependency vite to v5.4.21 [security] - autoclosed#741
renovate[bot] wants to merge 1 commit intomainfrom
renovate/npm-vite-vulnerability

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2025

This PR contains the following updates:

Package Change Age Confidence
vite (source) 5.4.205.4.21 age confidence

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)

v5.4.21

Compare Source

Please refer to CHANGELOG.md for details.


Configuration

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

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

Rebasing: Whenever PR becomes conflicted, 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 force-pushed the renovate/npm-vite-vulnerability branch from bdcbb2f to bc2a0eb Compare October 21, 2025 13:37
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from bc2a0eb to 72665a5 Compare November 10, 2025 22:01
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 72665a5 to 61d6680 Compare November 18, 2025 23:42
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 61d6680 to 28023f4 Compare December 3, 2025 14:47
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 28023f4 to edb12d1 Compare December 31, 2025 18:11
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from edb12d1 to 4d7530e Compare January 8, 2026 18:15
@renovate renovate bot changed the title chore(deps): update dependency vite to v5.4.21 [security] chore(deps): update dependency vite to v5.4.21 [security] - autoclosed Jan 9, 2026
@renovate renovate bot closed this Jan 9, 2026
@renovate renovate bot deleted the renovate/npm-vite-vulnerability branch January 9, 2026 08:19
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.

0 participants