CVE-2026-85625 sift 17.1.3 Prototype Pollution Remote Code Execution via $where
설명
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.
영향 받는 제품 제품 1개
-
crcn
sift.js
영향 받는 버전
- 17.1.3 이하
해결 버전
해결된 버전 정보가 없습니다.
참고 자료 4건
- github.com https://github.com/crcn/sift.js (새 창)
- github.com https://github.com/crcn/sift.js/blob/v17.1.3/src/core.ts (새 창)
- github.com https://github.com/crcn/sift.js/issues/276 (새 창)
- vulncheck.com https://www.vulncheck.com/advisories/sift-17.1.3-prototype-pollution-remote-code-execution-via-where (새 창)