chore(deps): update dependency vitest to v2.1.9 [security]#8605
Merged
Conversation
|
View your CI Pipeline Execution ↗ for commit 919ca4c.
☁️ Nx Cloud last updated this comment at |
|
View your CI Pipeline Execution ↗ for commit 2ce877d. ☁️ Nx Cloud last updated this comment at |
Contributor
|
Sizes for commit 919ca4c:
|
8e7417e to
0ef9f11
Compare
c054f4b to
c721c71
Compare
098d0e1 to
64e9db3
Compare
2317b8b to
e49c661
Compare
e49c661 to
3cc9e86
Compare
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #8605 +/- ##
=======================================
Coverage 46.33% 46.33%
=======================================
Files 199 199
Lines 7551 7551
Branches 1731 1733 +2
=======================================
Hits 3499 3499
Misses 3672 3672
Partials 380 380 🚀 New features to boost your workflow:
|
DogPawHat
pushed a commit
to DogPawHat/query
that referenced
this pull request
Mar 12, 2025
…8605) * chore(deps): update dependency vitest to v2.1.9 [security] * Fix coverage-istanbul version --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Lachlan Collins <1667261+lachlancollins@users.noreply.github.com>
vaernion
pushed a commit
to Arbeidstilsynet/brevgen2
that referenced
this pull request
Dec 3, 2025
This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@tanstack/react-query](https://tanstack.com/query) ([source](https://github.com/TanStack/query/tree/HEAD/packages/react-query)) | dependencies | minor | [`5.66.11` -> `5.67.2`](https://renovatebot.com/diffs/npm/@tanstack%2freact-query/5.66.11/5.67.2) | | [@tanstack/react-query-devtools](https://tanstack.com/query) ([source](https://github.com/TanStack/query/tree/HEAD/packages/react-query-devtools)) | dependencies | minor | [`5.66.11` -> `5.67.2`](https://renovatebot.com/diffs/npm/@tanstack%2freact-query-devtools/5.66.11/5.67.2) | --- ### Release Notes <details> <summary>TanStack/query (@​tanstack/react-query)</summary> ### [`v5.67.2`](https://github.com/TanStack/query/releases/tag/v5.67.2) [Compare Source](TanStack/query@v5.67.1...v5.67.2) Version 5.67.2 - 3/7/25, 10:56 AM ##### Changes ##### Fix - svelte-query: update peer deps to stable v5 version ([#​8359](TanStack/query#8359)) ([`30d18ee`](TanStack/query@30d18ee)) by [@​wobsoriano](https://github.com/wobsoriano) ##### Chore - deps: update dependency vitest to v2.1.9 \[security] ([#​8605](TanStack/query#8605)) ([`f31eeda`](TanStack/query@f31eeda)) by renovate\[bot] - sync CONTRIBUTING.md between projects ([#​8767](TanStack/query#8767)) ([`c4cb285`](TanStack/query@c4cb285)) by Lachlan Collins - deps: update autofix-ci/action digest to [`551dded`](TanStack/query@551dded) ([#​8549](TanStack/query#8549)) ([`8c03bd0`](TanStack/query@8c03bd0)) by renovate\[bot] - ts 5.8 ([`161f534`](TanStack/query@161f534)) by Dominik Dorfmeister ##### Docs - svelte-query: add the devtools page to the svelte-query docs ([#​8149](TanStack/query#8149)) ([`c82362e`](TanStack/query@c82362e)) by Nicolai Calinin - Fix relative links in Advanced Server Rendering guide ([#​8765](TanStack/query#8765)) ([`a4f3956`](TanStack/query@a4f3956)) by Ilia Evseev - react-query: fix broken links in QueryClient docs ([#​8748](TanStack/query#8748)) ([`2406435`](TanStack/query@2406435)) by Kristian - fix Advanced Server Rendering guide link ([#​8762](TanStack/query#8762)) ([`e67b6f6`](TanStack/query@e67b6f6)) by JiSeong Park - update links to ESLint rules ([#​8758](TanStack/query#8758)) ([`b975d89`](TanStack/query@b975d89)) by [@​MariaSolOs](https://github.com/MariaSolOs) ##### Packages - [@​...
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.
This PR contains the following updates:
2.0.5->2.1.9GitHub Vulnerability Alerts
CVE-2025-24964
Summary
Arbitrary remote Code Execution when accessing a malicious website while Vitest API server is listening by Cross-site WebSocket hijacking (CSWSH) attacks.
Details
When
apioption is enabled (Vitest UI enables it), Vitest starts a WebSocket server. This WebSocket server did not check Origin header and did not have any authorization mechanism and was vulnerable to CSWSH attacks.https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026a55ce6a8cb35114/packages/vitest/src/api/setup.ts#L32-L46
This WebSocket server has
saveTestFileAPI that can edit a test file andrerunAPI that can rerun the tests. An attacker can execute arbitrary code by injecting a code in a test file by thesaveTestFileAPI and then running that file by calling thererunAPI.https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026a55ce6a8cb35114/packages/vitest/src/api/setup.ts#L66-L76
PoC
calcexecutable inPATHenv var (you'll likely have it if you are running on Windows), that application will be executed.Impact
This vulnerability can result in remote code execution for users that are using Vitest serve API.
Release Notes
vitest-dev/vitest (vitest)
v2.1.9Compare Source
🚨 Breaking Changes
coverage.ignoreEmptyLinesby default - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5543 (31994)poolto'forks'- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5047 (7f8f9)--merge-reportsto support coverage - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5736 (b7438)🚀 Features
--output-json- by @Joristdh in https://github.com/vitest-dev/vitest/issues/5745 (0766b)parseAst,parseAstAsyncfrom vite - by @sheremet-va (f645e)clickevent - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5777 (839c3)page.screenshotmethod - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5853 (81c42)userEventmethods, addfillanddragAndDropevents - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5882 (4dbea)expect.dommethod and bundlejest-dommatchers with@vitest/browser- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5910 (3a96a)tripleClickto interactive api - by @userquin in https://github.com/vitest-dev/vitest/issues/5987 (200a4)userEvent.uploadin playwright provider - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6442 (cf148)--inspect- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6433 (0499a)--inspect-brk- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6434 (7ab0f)transformIndexHtml- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6725 (16902)thresholds.<glob>.100option - by @thor-juhasz and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6174 (f6845)--exclude-after-remap- by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6309 (5932a){ spy: true }instead of a factory - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6289 (95f02)test.for- by @hi-ogawa and @sheremet-va in https://github.com/vitest-dev/vitest/issues/5861 (c2380)vi.advanceTimersToNextFrame- by @bnjm and @sheremet-va in https://github.com/vitest-dev/vitest/issues/6347 (8ff63)🐞 Bug Fixes
--excludeoption - by @fregante in https://github.com/vitest-dev/vitest/issues/5782 (d6700)--inspect-brkstop on Windows - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6110 (f8519)require- by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6159 (807a2)testNamePatternadds leading space - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6186 (073a5)indexfile - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6266 (081cf)expect.getState().testPathalways returns correct path - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6472 (ac698)Vitest.setServerto postconfigureServerhook to enable import analysis for workspace config loading - by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6584 (e7f35)toBeNaN, toBeUndefined, toBeNull, toBeTruthy, toBeFalsy- by @hi-ogawa in https://github.com/vitest-dev/vitest/issues/6697 (e0027)dangerouslyIgnoreUnhandledErrorswithout base reporter - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6808 (0bf0a)unhandledRejectioneven when base reporter is not used - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6812 (8878b)sequence.concurrentfrom theRuntimeConfigtype - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6880 (6af73).poll,.element,.rejects/.resolves, andlocator.*weren't awaited - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6877 (93b67)project.providetype - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/5959 (0eda9)BenchmarkResult.samplesarray to reduce memory usage - by @hi-ogawa and @AriPerkkio in https://github.com/vitest-dev/vitest/issues/6541 (a6407)previewprovider when running in StackBlitz - by @userquin in https://github.com/vitest-dev/vitest/issues/5836 (76e13)coverage.reporterfrom string values - by @AriPerkkio in https://github.com/vitest-dev/vitest/issues/5920 (f33da)crypto.randomUUIDfrom the client - by @userquin in https://github.com/vitest-dev/vitest/issues/6079 (04c83)afterEachcleanup hooks in node entrypoint - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6192 (e6fbc)processglobal - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6213 (1affb)processglobal " - by @sheremet-va in https://github.com/vitest-dev/vitest/issues/6213 (9069b)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.
This PR was generated by Mend Renovate. View the repository job log.