{"id":"CVE-2026-85625","published":"2026-09-04T14:32:15Z","modified":"2026-09-14T19:33:09Z","title":"sift 17.1.3 Prototype Pollution Remote Code Execution via $where","vendor":"crcn","product":"sift.js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00735,"percentile":0.55367,"provenance":"source"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"references":[{"url":"https://github.com/crcn/sift.js/issues/276","tags":["issue-tracking"]},{"url":"https://github.com/crcn/sift.js","tags":["product"]},{"url":"https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where","tags":["third-party-advisory"]}],"priority":{"score":21.7,"factors":[{"name":"EPSS percentile","points":11.07},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":5.67}]},"exploitSources":{"pocGithub":{"count":1,"skipped":0,"earliest":"2026-09-08","earliestUrl":"https://github.com/lgranadoi/sift-hardened","repos":[{"name":"lgranadoi/sift-hardened","url":"https://github.com/lgranadoi/sift-hardened","stars":0,"created":"2026-09-08"}]},"first":{"date":"2026-09-08","source":"PoC-in-GitHub","url":"https://github.com/lgranadoi/sift-hardened"},"provenance":"source"},"vendorSlug":"crcn","affectedVersions":[{"vendor":"crcn","product":"sift.js","versions":["<= 17.1.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T19:20:21.665008Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-71232","exploited":false,"provenance":"source"}}