fix(deps): update dependency mongoose to v8.8.3 [security] #2859
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:
8.2.2->8.8.3GitHub Vulnerability Alerts
CVE-2024-53900
Mongoose versions prior to 8.8.3, 7.8.3, and 6.13.5 are vulnerable to improper use of the $where operator. This vulnerability arises from the ability of the $where clause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.
CVE-2025-23061
Mongoose versions prior to 8.9.5, 7.8.4, and 6.13.6 are vulnerable to improper use of the
$whereoperator. This vulnerability arises from the ability of the$whereclause to execute arbitrary JavaScript code in MongoDB queries, potentially leading to code injection attacks and unauthorized access or manipulation of database data.NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.
Release Notes
Automattic/mongoose (mongoose)
v8.8.3Compare Source
==================
v8.8.2Compare Source
==================
v8.8.1Compare Source
==================
v8.8.0Compare Source
==================
__vto lean() result type and ModifyResult #14990 #12959v8.7.3Compare Source
==================
v8.7.2Compare Source
==================
v8.7.1Compare Source
==================
v8.7.0Compare Source
==================
v8.6.4Compare Source
==================
v8.6.3Compare Source
==================
v8.6.2Compare Source
==================
v8.6.1Compare Source
==================
v8.6.0Compare Source
==================
MongooseErrorinstead ofMongoCursorExhaustedError#14813v8.5.5Compare Source
==================
v8.5.4Compare Source
==================
v8.5.3Compare Source
==================
lean()set #14799 #14794 #14759 MohOrabyv8.5.2Compare Source
==================
v8.5.1Compare Source
==================
v8.5.0Compare Source
==================
v8.4.5Compare Source
==================
v8.4.4Compare Source
==================
v8.4.3Compare Source
==================
v8.4.2Compare Source
==================
v8.4.1Compare Source
==================
v8.4.0Compare Source
==================
v8.3.5Compare Source
==================
v8.3.4Compare Source
==================
#14546 #14536
v8.3.3Compare Source
==================
v8.3.2Compare Source
==================
v8.3.1Compare Source
==================
v8.3.0Compare Source
==================
v8.2.4Compare Source
==================
v8.2.3Compare Source
==================
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.