Live threats

All CVEs / crcn

CVE-2026-85625crcn sift.js

Remote Code Execution in sift.js via Prototype Pollution

Critical 9.2 No auth needed

Priority
70
CVSS 4.0
9.2
EPSS
—
Auth required
No
Published
Sep 4, 2026
Updated
Sep 14, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-1321
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
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

What happens

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.

Show the original NVD 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 text, unmodified. NVD.

What to do

No patch data

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 advisory · github.com ↗

  1. Apply the vendor's security update for sift.js.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.