THREAT OPS › Threat News › [GHSA] GHSA-pcrw-h46h-c93h (critical) — Mongoose: sanitizeFilter not applied on countDocuments
[GHSA] GHSA-pcrw-h46h-c93h (critical) — Mongoose: sanitizeFilter not applied on countDocuments
GHSA-pcrw-h46h-c93h Severity: critical CVE: CVE-2026-125120
Mongoose: sanitizeFilter not applied on countDocuments
### Impact
`sanitizeFilter` is Mongoose's mechanism for protecting against query selector injection attacks. In older versions of Mongoose, `sanitizeFilter` was not applied for `countDocuments()` queries.
### Patches
Patches have been released for all supported Mongoose major rel
MITRE ATT&CK techniques
- JavaScriptT1059.007
Indicators of compromise
- CVE-2026-125120cve
Original source: https://github.com/advisories/GHSA-pcrw-h46h-c93h