{"id":"CVE-2026-85625","aliases":["CVE-2026-85625"],"related":[],"kind":"vulnerability","state":"published","title":"sift 17.1.3 Prototype Pollution Remote Code Execution via $where","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-04T14:32:15.388Z","modified":"2026-09-14T20:16:58.987Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","score":8.1,"rating":"HIGH"}],"cwes":["CWE-1321"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"17.1.3","status":"affected"}],"vendor":"crcn","product":"sift.js","source":"cvelist"}],"references":[{"url":"https://github.com/crcn/sift.js/issues/276","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/crcn/sift.js","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-14T19:20:21.665Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85625","url":"https://www.cve.org/CVERecord?id=CVE-2026-85625","licence":"CVE Terms of Use","modified":"2026-09-14T19:33:09.188Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85625","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85625","licence":"Public domain","modified":"2026-09-14T20:16:58.987Z"}],"updatedAt":"2026-11-25T22:59:36.295Z","epss":{"score":0.00547,"percentile":0.47237,"date":"2026-12-01T12:00:22.000Z"}}