{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-85625","published":"2026-09-04T15:17:42.880000Z","last_modified":"2026-09-14T20:16:58.987000Z","status":"Deferred","cvss":{"version":"4.0","score":9.2,"severity":"CRITICAL","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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":false,"cwes":["CWE-1321"],"cpes":[],"cpes_truncated":false,"vendors":["crcn"],"products":["crcn/sift.js"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"total"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":70,"links":{"html_es":"/es/cve/CVE-2026-85625/","html_en":"/en/cve/CVE-2026-85625/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-85625","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-85625"},"untrusted":{"vendor_name":"crcn","product_name":"sift.js","desc_en":"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.","affected":[{"untrusted_vendor":"crcn","untrusted_product":"sift.js","versions":[]}],"ai":{"model":"us.anthropic.claude-haiku-4-5-20251001-v1:0","prompt_version":"2","input_hash":"a2620fd76d991dde397c64711824c99b","generated":"2026-11-26T20:42:59.217466Z","es":{"untrusted_title":"Ejecución remota de código en sift.js por contaminación de prototipo","untrusted_summary":"sift.js 17.1.3 enumera las claves de consulta con for...in, lo que permite que operadores como $where se ejecuten incluso desde el prototipo de Object. El operador $where compila cadenas en funciones usando new Function sin validación, permitiendo ejecución de código arbitrario si se contamina el prototipo o se pasa una consulta no confiable directamente."},"en":{"untrusted_title":"Remote Code Execution in sift.js via Prototype Pollution","untrusted_summary":"sift.js 17.1.3 enumerates query keys with for...in, allowing operators like $where to execute from Object.prototype. The $where operator compiles strings into functions using new Function without validation, enabling arbitrary code execution if the prototype is polluted or an untrusted query object is passed directly."},"remediation":{"status":"unknown","fixed_versions":[],"untrusted_action_es":"Actualiza sift.js a una versión posterior a 17.1.3 cuando esté disponible. Mientras tanto, habilita CSP_ENABLED o evita pasar objetos de consulta no confiables.","untrusted_action_en":"Update sift.js to a version after 17.1.3 when available. In the meantime, enable CSP_ENABLED or avoid passing untrusted query objects.","vendor_url":"https://github.com/crcn/sift.js"},"reviewed":false},"references":[{"url":"https://github.com/crcn/sift.js","tags":[]},{"url":"https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts","tags":[]},{"url":"https://github.com/crcn/sift.js/issues/276","tags":[]},{"url":"https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where","tags":[]}]}}