chore(deps): update dependency vitest to v1.6.1 [security] - autoclosed - #101
Closed
renovate[bot] wants to merge 1 commit into
Closed
chore(deps): update dependency vitest to v1.6.1 [security] - autoclosed#101renovate[bot] wants to merge 1 commit into
renovate[bot] wants to merge 1 commit into
Conversation
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
February 9, 2025 13:59
aac0470 to
6b88962
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
March 3, 2025 15:45
6b88962 to
583fb01
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
3 times, most recently
from
March 17, 2025 18:43
6f414e2 to
6082113
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
April 1, 2025 11:27
6082113 to
b690097
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
April 8, 2025 14:01
b690097 to
3105adc
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
April 24, 2025 09:39
3105adc to
279b4a0
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
May 19, 2025 20:47
279b4a0 to
3f460df
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
May 28, 2025 10:02
3f460df to
3e4fd31
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
June 6, 2025 00:47
3e4fd31 to
610fc20
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
June 22, 2025 12:44
610fc20 to
0e30dcb
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
July 2, 2025 17:38
0e30dcb to
a2dd3f0
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
2 times, most recently
from
August 13, 2025 17:33
0628a21 to
4fe629c
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
August 19, 2025 17:08
4fe629c to
fa38fe7
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
August 31, 2025 10:08
fa38fe7 to
6c0479b
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
September 25, 2025 16:05
6c0479b to
e147bed
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
October 21, 2025 14:54
e147bed to
1e39722
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
November 10, 2025 19:14
1e39722 to
6ae0fab
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
November 18, 2025 12:58
6ae0fab to
03c4256
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
December 3, 2025 18:55
03c4256 to
43bd30c
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
December 31, 2025 13:40
43bd30c to
590817d
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
January 8, 2026 20:23
590817d to
46eb32b
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
2 times, most recently
from
January 23, 2026 18:46
5573dbb to
09d98d8
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
February 2, 2026 21:50
09d98d8 to
461364e
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
February 12, 2026 13:58
461364e to
1f6f70b
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
2 times, most recently
from
February 17, 2026 23:39
1f6f70b to
f09f19e
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
March 5, 2026 20:12
f09f19e to
c6770a5
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
March 13, 2026 11:16
c6770a5 to
b94fb03
Compare
renovate
Bot
force-pushed
the
renovate/npm-vitest-vulnerability
branch
from
March 30, 2026 17:55
b94fb03 to
9addafc
Compare
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:
1.4.0→1.6.1GitHub 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)
v1.6.1Compare Source
This release includes security patches for:
🐞 Bug Fixes
View changes on GitHub
v1.6.0Compare Source
🚀 Features
includeConsoleOutputandaddFileAttributein junit - by @hi-ogawa in #5659 (2f913)🐞 Bug Fixes
resolveId('vitest')afterbuildStart- by @hi-ogawa in #5646 (f5faf)toJSONfor error serialization - by @hi-ogawa in #5526 (19a21)*.test-d.*by default - by @MindfulPol in #5634 (bfe8a)vite-node's wrapper only to executed files - by @AriPerkkio in #5642 (c9883)🏎 Performance
View changes on GitHub
v1.5.3Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.5.2Compare Source
🐞 Bug Fixes
View changes on GitHub
v1.5.1Compare Source
🚀 Features
startVitest()to acceptstdoutandstdin- by @AriPerkkio in #5493 (780b1)startVitestAPI is experimental and doesn't follow semver.🐞 Bug Fixes
import.meta.env.PROD: false- by @hi-ogawa in #5561 (9c649)onTestFinishedin reverse order - by @sheremet-va in #5598 (23f29)fileParallelismby default on browser pool - by @hi-ogawa in #5528 (5c69f)v8-to-istanbul- by @AriPerkkio in #5549 (df6a4)cleanOnRerunis disabled - by @AriPerkkio in #5540 (ea3c1)thresholdsto compare files relative to root - by @AriPerkkio in #5574 (80265)toEqualandtoMatchObjectwith circular references - by @hi-ogawa in #5535 (9e641)View changes on GitHub
v1.5.0Compare Source
🚀 Features
🐞 Bug Fixes
describecalls not taking generic type parameters - by @aryaemami59 in #5415 (16bac)processis mocked - by @AriPerkkio in #5430 (0ec4d)toHaveBeenNthCalledWitherror message when not called - by @hi-ogawa in #5420 (e5253)isValidNodeImportto check"type": "module"first - by @hi-ogawa in #5416 (6fb15)View changes on GitHub
Configuration
📅 Schedule: Branch creation - "" (UTC), 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.
This PR was generated by Mend Renovate. View the repository job log.