Apply sanitizeFilter in countDocuments and cursor
fix(query): apply sanitizeFilter in countDocuments and cursor
Apply sanitizeFilter in countDocuments and cursorb1df04-fix-apply-sanitizefilter-in-countdocuments-and-cursor-cve-2026-125120fixapply sanitizefilter countdocuments cursor query
Committed by vkarpov15
commit message
fix(query): apply sanitizeFilter in countDocuments and cursorEditor assessment
This commit patches CVE-2026-125120. This branch repeats the countDocuments-and-cursor wording of its siblings, so the four commits carrying this CVE are textually indistinguishable and a reader cannot tell whether they differ at all. The subject itself is accurate and the query scope fits. The recurring weakness is the empty body: the motivation - that find was sanitized while count and cursor were not - never appears, so every copy leaves the reader to infer the rule from the patch. Since the rationale exists upstream, copying one paragraph into this message would fix all copies.