{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85625","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","state":"PUBLISHED","assignerShortName":"VulnCheck","dateReserved":"2026-09-04T11:03:33.316Z","datePublished":"2026-09-04T14:32:15.388Z","dateUpdated":"2026-09-14T19:33:09.188Z"},"containers":{"cna":{"providerMetadata":{"orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","shortName":"VulnCheck","dateUpdated":"2026-09-04T14:32:15.388Z"},"datePublic":"2026-07-06T00:00:00.000Z","title":"sift 17.1.3 Prototype Pollution Remote Code Execution via $where","descriptions":[{"lang":"en","value":"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."}],"problemTypes":[{"descriptions":[{"lang":"en","description":"Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')","cweId":"CWE-1321","type":"CWE"}]}],"affected":[{"vendor":"crcn","product":"sift.js","defaultStatus":"unaffected","packageURL":"pkg:npm/sift","versions":[{"version":"0","status":"affected","versionType":"semver","lessThanOrEqual":"17.1.3"}]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":9.2,"baseSeverity":"CRITICAL"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":8.1,"baseSeverity":"HIGH"}}],"references":[{"url":"https://github.com/crcn/sift.js/issues/276","tags":["issue-tracking"],"name":"GitHub Issue #276"},{"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"]},{"name":"VulnCheck Advisory: sift 17.1.3 Prototype Pollution Remote Code Execution via $where","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where"}],"credits":[{"lang":"en","value":"George Chen","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2026-85625","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"version":"2.0.3","timestamp":"2026-09-14T19:20:21.665008Z"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-09-14T19:33:09.188Z"}}]}}