{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2026-85625 in the wild and no public exploit code.","fix":"No fix has been published for CVE-2026-85625 yet. Limit exposure of the affected software until one is available.","what":"CVE-2026-85625 is a critical code injection vulnerability in crcn sift.js, published on 4 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-85625 and fix it if it is affected.\n\nWhat it is: CVE-2026-85625 is a critical code injection vulnerability in crcn sift.js, published on 4 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-85625 in the wild and no public exploit code.\n\nAffected product: crcn sift.js. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-85625/ (Markdown: https://insights.sbomify.com/CVE-2026-85625/index.md)","id":"CVE-2026-85625","markdown":"https://insights.sbomify.com/CVE-2026-85625/index.md","name":"CVE-2026-85625","record":{"aliases":["GHSA-8pfg-3p4c-36vm"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"yes","non_default_config":false,"product_category":"JavaScript query library","requires_auth":"none","summary":"Attackers can execute arbitrary JavaScript via prototype pollution or untrusted queries in sift.js due to unsafe $where operator handling.","user_interaction":"not_required","vuln_class":"code_injection"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulnCheck","cpe":[],"cvss":{"score":9.2,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-1321","name":"Improperly Controlled Modification of Object Prototype Attributes"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":"2026-09-08","github_poc":1,"max_poc_stars":0,"metasploit":0,"nuclei":0,"refs":[{"date":"2026-09-08T19:41:24Z","kind":"github_poc","ref":"https://github.com/lgranadoi/sift-hardened","stars":0,"title":"Security-hardened fork of sift 17.1.3 for CVE-2026-85625. Not affiliated with crcn/sift.js."}],"tier":"poc_unverified"},"has_fix":false,"headline":"sift 17.1.3 Prototype Pollution Remote Code Execution via $where","id":"CVE-2026-85625","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"code_injection","year":"2026"},"n_packages":0,"n_references":4,"next":{"headline":"git-mcp-server 2.15.1 Argument Injection via Git Ref Parameters","id":"CVE-2026-85626"},"packages":[],"prev":{"headline":"Blinko 1.8.7 Cross-User Private Note Disclosure via noteReferenceList","id":"CVE-2026-85624"},"products":["sift.js"],"published":"2026-09-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-09-14","vendors":["crcn"]},"summary":"Attackers can execute arbitrary JavaScript via prototype pollution or untrusted queries in sift.js due to unsafe $where operator handling.","url":"https://insights.sbomify.com/CVE-2026-85625/"}