CVE-2025-23061

Source
https://cve.org/CVERecord?id=CVE-2025-23061
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-23061.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-23061
Aliases
Downstream
Published
2025-01-15T00:00:00Z
Modified
2026-07-15T01:49:16.699979248Z
Severity
  • 9.0 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
[none]
Details

Mongoose before 8.9.5 can improperly use a nested $where filter with a populate() match, leading to search injection. NOTE: this issue exists because of an incomplete fix for CVE-2024-53900.

Database specific
{
    "cwe_ids": [
        "CWE-94"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/23xxx/CVE-2025-23061.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/automattic/mongoose

Affected ranges

Type
GIT
Repo
https://github.com/automattic/mongoose
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "6.0.0"
        },
        {
            "fixed": "6.13.6"
        },
        {
            "introduced": "7.0.0"
        },
        {
            "fixed": "7.8.4"
        },
        {
            "introduced": "8.0.0"
        },
        {
            "fixed": "8.9.5"
        }
    ],
    "source": "AFFECTED_FIELD"
}

Affected versions

6.*
6.0.0
6.0.1
6.0.10
6.0.11
6.0.12
6.0.13
6.0.14
6.0.15
6.0.2
6.0.3
6.0.4
6.0.5
6.0.6
6.0.7
6.0.8
6.0.9
6.1.0
6.1.1
6.1.2
6.1.3
6.1.4
6.1.5
6.1.6
6.1.7
6.1.8
6.10.0
6.10.1
6.10.2
6.10.3
6.10.4
6.10.5
6.11.0
6.11.1
6.11.2
6.11.3
6.11.4
6.11.5
6.11.6
6.12.0
6.12.1
6.12.2
6.12.4
6.12.5
6.12.6
6.12.7
6.12.8
6.12.9
6.13.0
6.13.1
6.13.2
6.13.3
6.13.4
6.13.5
6.2.10
6.2.11
6.2.2
6.2.3
6.2.4
6.2.5
6.2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