Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
{
"schema_version": "1.4.0",
"id": "GHSA-m7xq-9374-9rvx",
"modified": "2024-12-04T16:41:00Z",
"modified": "2024-12-04T16:41:02Z",
"published": "2024-12-02T21:31:20Z",
"aliases": [
"CVE-2024-53900"
],
"summary": "Mongoose search injection vulnerability",
"details": "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.",
Copy link

Copilot AI Feb 3, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The details field states "Mongoose versions prior to 8.8.3, 7.8.3, and 6.13.5 are vulnerable" which implies all versions before 6.13.5 are affected. However, according to the PR description, only versions 5.6.4 and later contain the vulnerable code path. The details should be updated to clarify that only versions from 5.6.4 onwards are affected, not all versions prior to the fixed versions. For example: "Mongoose versions 5.6.4 through 6.13.4, 7.0.0-rc0 through 7.8.2, and 8.0.0-rc0 through 8.8.2 are vulnerable..."

Copilot uses AI. Check for mistakes.
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
},
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N"
Expand Down Expand Up @@ -67,7 +63,7 @@
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
"introduced": "3.6.0-rc0"
},
{
"fixed": "6.13.5"
Expand Down
Loading