Skip to content

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

Warning

Deprecated preset: Kong/public-shared-renovate:kong-frontend-config

Your config references a deprecated preset. To prevent disruption, this file now composes the org default building blocks and layers a few tweaks so behavior stays close to the historical frontend configuration.

Recommended migration

Prefer switching to the frontend base config, which already extends the default preset:

{
  "extends": [
    "Kong/public-shared-renovate//scoped/frontend/base",
   ],
  }

This compatibility preset will be removed in January 2026. Please migrate to the default preset with local overrides before then.

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

vite allows server.fs.deny bypass via backslash on Windows

CVE-2025-62522 / GHSA-93m4-6634-74q7

More information

Details

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

Severity

  • CVSS Score: 6.0 / 10 (Medium)
  • Vector String: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

References

This data is provided by OSV and the GitHub Advisory Database (CC-BY 4.0).


Release Notes

vitejs/vite (vite)

v5.4.21

Compare Source

Please refer to CHANGELOG.md for details.


Configuration

📅 Schedule: Branch creation - "" in timezone America/New_York, Automerge - Monday through Friday ( * * * * 1-5 ) in timezone America/New_York.

🚦 Automerge: Enabled.

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 adamdehaven as a code owner October 21, 2025 06:28
@renovate renovate bot added dependencies Pull requests that update a dependency file renovate-bot labels Oct 21, 2025
@renovate renovate bot requested review from a team and jillztom as code owners October 21, 2025 06:28
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from fe19439 to 2dc8c3c Compare October 23, 2025 15:34
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 2dc8c3c to e86d1e8 Compare November 10, 2025 22:42
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from e86d1e8 to 1ab7297 Compare December 3, 2025 16:31
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 1ab7297 to e5ac4e5 Compare December 31, 2025 18:44
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from e5ac4e5 to 16809d1 Compare January 8, 2026 10:39
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch 2 times, most recently from 95e64e0 to 526406d Compare January 24, 2026 19:54
Signed-off-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
@renovate renovate bot force-pushed the renovate/npm-vite-vulnerability branch from 526406d to 57afc49 Compare January 29, 2026 11:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate-bot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant