-
-
Notifications
You must be signed in to change notification settings - Fork 9
chore(deps): update dependency vitest to v2.1.9 [security] #29
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
renovate
wants to merge
1
commit into
main
Choose a base branch
from
renovate/npm-vitest-vulnerability
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
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
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
✅ Deploy Preview for uni-typed ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
b52e5ea
to
7ad5807
Compare
7ad5807
to
a056a2a
Compare
@uni-helper/uni-app-components
@uni-helper/uni-app-types
@uni-helper/uni-cloud-types
@uni-helper/uni-types
@uni-helper/uni-ui-types
commit: |
d2f4fce
to
744e3df
Compare
a384492
to
876a8f1
Compare
876a8f1
to
35d95b5
Compare
35d95b5
to
2ed045d
Compare
2ed045d
to
732b317
Compare
732b317
to
3f50d74
Compare
77eac9b
to
8e209dd
Compare
8e209dd
to
fd4fdbf
Compare
fd4fdbf
to
cd15c85
Compare
31451a3
to
766ac58
Compare
766ac58
to
8afa8d4
Compare
8afa8d4
to
c7d71ba
Compare
c7d71ba
to
3beab3f
Compare
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.1.3
->2.1.9
GitHub 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
api
option 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
saveTestFile
API that can edit a test file andrerun
API that can rerun the tests. An attacker can execute arbitrary code by injecting a code in a test file by thesaveTestFile
API and then running that file by calling thererun
API.https://github.com/vitest-dev/vitest/blob/9a581e1c43e5c02b11e2a8026a55ce6a8cb35114/packages/vitest/src/api/setup.ts#L66-L76
PoC
calc
executable inPATH
env 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.9
Compare Source
This release includes security patches for:
🐞 Bug Fixes
/__screenshot-error
- by @hi-ogawa in #7343View changes on GitHub
v2.1.8
Compare Source
🐞 Bug Fixes
View changes on GitHub
v2.1.7
Compare Source
🐞 Bug Fixes
pnpm.overrides
or yarn resolutions to override thevite
version in thevitest
package - the APIs are compatible.View changes on GitHub
v2.1.6
Compare Source
🚀 Features
View changes on GitHub
v2.1.5
Compare Source
🐞 Bug Fixes
dangerouslyIgnoreUnhandledErrors
without base reporter - by @AriPerkkio in #6808 (0bf0a)unhandledRejection
even when base reporter is not used - by @AriPerkkio in #6812 (8878b)sequence.concurrent
from theRuntimeConfig
type - by @sheremet-va in #6880 (6af73).poll
,.element
,.rejects
/.resolves
, andlocator.*
weren't awaited - by @sheremet-va in #6877 (93b67)enter
or'a'
- by @AriPerkkio in #6848 (487c8)🏎 Performance
View changes on GitHub
v2.1.4
Compare Source
🚀 Features
This patch release includes a non-breaking feature for the experimental Browser Mode that doesn't follow SemVer. If you want to avoid picking up releases like this, make sure to pin the Vitest version in your
package.json
. See npm's documentation about semver for more information.transformIndexHtml
- by @sheremet-va in #6725 (16902)🐞 Bug Fixes
v=
queries to setup files imports - by @sheremet-va in #6759 (b8258)toThrowError
with empty string parameter - by @shulaoda in #6710 (a6129)test.extend
type exports - by @hi-ogawa in #6707 (e5c38)🏎 Performance
hash
to replacecreateHash
- by @btea in #6703 (5d07b)View changes on GitHub
Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - Between 12:00 AM and 03:59 AM, on day 1 of the month ( * 0-3 1 * * ) (UTC).
🚦 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.