Commit c9561e3
authored
chore(deps): update dependency vite to v7.1.11 [security] (#7842)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [vite](https://vite.dev)
([source](https://redirect.github.com/vitejs/vite/tree/HEAD/packages/vite))
| [`7.1.9` ->
`7.1.11`](https://renovatebot.com/diffs/npm/vite/7.1.9/7.1.11) |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
### GitHub Vulnerability Alerts
####
[CVE-2025-62522](https://redirect.github.com/vitejs/vite/security/advisories/GHSA-93m4-6634-74q7)
### Summary
Files denied by
[`server.fs.deny`](https://vitejs.dev/config/server-options.html#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](https://vitejs.dev/config/server-options.html#server-host))
- 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
```shell
npm create vite@latest
cd vite-project/
cat "secret" > .env
npm install
npm run dev
curl --request-target /.env\ http://localhost:5173
```
<img width="1593" height="616" alt="image"
src="https://github.com/user-attachments/assets/36212f4e-1d3c-4686-b16f-16b35ca9e175"
/>
---
### Release Notes
<details>
<summary>vitejs/vite (vite)</summary>
###
[`v7.1.11`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-7111-2025-10-20-small)
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v7.1.10...v7.1.11)
##### Bug Fixes
- **dev:** trim trailing slash before `server.fs.deny` check
([#​20968](https://redirect.github.com/vitejs/vite/issues/20968))
([f479cc5](https://redirect.github.com/vitejs/vite/commit/f479cc57c425ed41ceb434fecebd63931b1ed4ed))
##### Miscellaneous Chores
- **deps:** update all non-major dependencies
([#​20966](https://redirect.github.com/vitejs/vite/issues/20966))
([6fb41a2](https://redirect.github.com/vitejs/vite/commit/6fb41a260bda443685e719ea4765d3faca3db944))
##### Code Refactoring
- use subpath imports for types module reference
([#​20921](https://redirect.github.com/vitejs/vite/issues/20921))
([d0094af](https://redirect.github.com/vitejs/vite/commit/d0094af639d9ebbb51d4e00910b74f23eb8fe131))
##### Build System
- remove cjs reference in files field
([#​20945](https://redirect.github.com/vitejs/vite/issues/20945))
([ef411ce](https://redirect.github.com/vitejs/vite/commit/ef411cee2696af3ba791879fdae9aad165f178b2))
- remove hash from built filenames
([#​20946](https://redirect.github.com/vitejs/vite/issues/20946))
([a817307](https://redirect.github.com/vitejs/vite/commit/a81730754d655d1371ce0f4354af1c84e12f9f2d))
###
[`v7.1.10`](https://redirect.github.com/vitejs/vite/blob/HEAD/packages/vite/CHANGELOG.md#small-7110-2025-10-14-small)
[Compare
Source](https://redirect.github.com/vitejs/vite/compare/v7.1.9...v7.1.10)
##### Bug Fixes
- **css:** avoid duplicate style for server rendered stylesheet link and
client inline style during dev
([#​20767](https://redirect.github.com/vitejs/vite/issues/20767))
([3a92bc7](https://redirect.github.com/vitejs/vite/commit/3a92bc79b306a01b8aaf37f80b2239eaf6e488e7))
- **css:** respect emitAssets when cssCodeSplit=false
([#​20883](https://redirect.github.com/vitejs/vite/issues/20883))
([d3e7eee](https://redirect.github.com/vitejs/vite/commit/d3e7eeefa91e1992f47694d16fe4dbe708c4d80e))
- **deps:** update all non-major dependencies
([879de86](https://redirect.github.com/vitejs/vite/commit/879de86935a31b4e47ab907ddd859366518ce268))
- **deps:** update all non-major dependencies
([#​20894](https://redirect.github.com/vitejs/vite/issues/20894))
([3213f90](https://redirect.github.com/vitejs/vite/commit/3213f90ff0d8f274bcec65f40aac6dfcff1ac244))
- **dev:** allow aliases starting with `//`
([#​20760](https://redirect.github.com/vitejs/vite/issues/20760))
([b95fa2a](https://redirect.github.com/vitejs/vite/commit/b95fa2aa7564eda4c9f05ee7616a2dbada35e463))
- **dev:** remove timestamp query consistently
([#​20887](https://redirect.github.com/vitejs/vite/issues/20887))
([6537d15](https://redirect.github.com/vitejs/vite/commit/6537d15591619d7e1cfc1e50599bec16cd88340f))
- **esbuild:** inject esbuild helpers correctly for esbuild 0.25.9+
([#​20906](https://redirect.github.com/vitejs/vite/issues/20906))
([446eb38](https://redirect.github.com/vitejs/vite/commit/446eb386329ef682d614c77958a542f2dc222880))
- normalize path before calling `fileToBuiltUrl`
([#​20898](https://redirect.github.com/vitejs/vite/issues/20898))
([73b6d24](https://redirect.github.com/vitejs/vite/commit/73b6d243e0398ee5d8d44c7d24162f4a0f4b1cf1))
- preserve original sourcemap file field when combining sourcemaps
([#​20926](https://redirect.github.com/vitejs/vite/issues/20926))
([c714776](https://redirect.github.com/vitejs/vite/commit/c714776aa1dcc24299a81c1495cbcbb1b1ef1dd3))
##### Documentation
- correct `WebSocket` spelling
([#​20890](https://redirect.github.com/vitejs/vite/issues/20890))
([29e98dc](https://redirect.github.com/vitejs/vite/commit/29e98dc3efe35efbd978523367c05db7d2e7a278))
##### Miscellaneous Chores
- **deps:** update rolldown-related dependencies
([#​20923](https://redirect.github.com/vitejs/vite/issues/20923))
([a5e3b06](https://redirect.github.com/vitejs/vite/commit/a5e3b064fa7ca981cb6f15f8e88806b36a99b8bf))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), Automerge - At any time (no
schedule defined).
🚦 **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.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/UI5/webcomponents-react).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNDMuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE0My4xIiwidGFyZ2V0QnJhbmNoIjoibWFpbiIsImxhYmVscyI6WyJkZXBlbmRlbmNpZXMiXX0=-->
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>1 parent 1911dc9 commit c9561e3
File tree
10 files changed
+26
-26
lines changed- examples
- react-router-ts
- vite-ts
- templates/vite-ts
10 files changed
+26
-26
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
101 | | - | |
| 101 | + | |
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20242 | 20242 | | |
20243 | 20243 | | |
20244 | 20244 | | |
20245 | | - | |
| 20245 | + | |
20246 | 20246 | | |
20247 | 20247 | | |
20248 | 20248 | | |
| |||
20907 | 20907 | | |
20908 | 20908 | | |
20909 | 20909 | | |
20910 | | - | |
20911 | | - | |
20912 | | - | |
| 20910 | + | |
| 20911 | + | |
| 20912 | + | |
20913 | 20913 | | |
20914 | 20914 | | |
20915 | 20915 | | |
| |||
20958 | 20958 | | |
20959 | 20959 | | |
20960 | 20960 | | |
20961 | | - | |
| 20961 | + | |
20962 | 20962 | | |
20963 | 20963 | | |
20964 | 20964 | | |
| |||
0 commit comments