CVE-2026-85625

CRITICAL CVSS 4.0: 9.2 EPSS 0.73%
Updated Sep 14, 2026
sift
Parameter Value
CVSS 9.2 (CRITICAL)
Type CWE-1321 (Prototype Pollution)
Vendor sift
Public PoC No

sift (sift.js) 17.1.3 enumerates query keys with for...in, which walks the object prototype chain, and dispatches any matched operator key including $where. The $where operation compiles a string value into a function using new Function unless CSP_ENABLED is set (not set by default). As a result, if a prototype-pollution primitive elsewhere in the process sets Object.prototype.$where to a malicious string, even benign filter calls such as sift({}) execute arbitrary JavaScript.

Additionally, passing an untrusted query object containing a string $where directly to sift results in code execution under the default configuration.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
High
Difficult to exploit
Attack Requirements
Present
Additional conditions required
Privileges Required
None
No privileges needed
User Interaction
None
No user interaction needed

Impact Assessment

Confidentiality
High
Complete data leak
Integrity
High
Complete data modification
Availability
High
Complete denial of service

CVSS Vector v4.0

Weakness Type (CWE)