CVE-2026-85625
published critical CVSS 4.0 · 9.2sift 17.1.3 Prototype Pollution Remote Code Execution via $where
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| crcn | — | sift.js0 through 17.1.3 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.2 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 8.1 | high | VulnCheck · cna | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| crcn | sift.js | 0 through 17.1.3 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-1321 Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
References
4- https://github.com/crcn/sift.js
- https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts
- GitHub Issue #276 https://github.com/crcn/sift.js/issues/276
- VulnCheck Advisory: sift 17.1.3 Prototype Pollution Remote Code Execution via $where https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where
Provider assertions
2VulnCheck · cna
sift 17.1.3 Prototype Pollution Remote Code Execution via $where
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 6b10f848e4989f6550d5c1e9ec567e8a8297e5bad4671a0494e01e68a471e3c1
- Ingested
- 23 Sep 2026, 09:37:04 UTC
- Source record
- Official CVE record