Waline login accepts a non-string email as a match-all MongoDB query
影響: npm:@waline/vercel <= 1.40.3 → 1.41.0
The login endpoint POST /api/token reads the email field from the request body without checking its type and passes it straight into the MongoDB storage query. When email is not a string (for example a JSON object such as {"$ne": null}), the MongoDB storage adapter's parseWhere silently DROPS the field rather than rejecting the request, producing an empty filter that matches ALL users. The endpoint then verifies the submitted password against the FIRST user returned (user[0]), which in Waline i…
| 정보원 | GitHub Advisory Database |
|---|---|
| 수집 시각 | 2026. 10. 29. 오전 09:48 |
| 데이터 | Markdown JSON |
2026. 10. 29. 오전 06:17, GitHub Advisory Database에서 "Waline login accepts a non-string email as a match-all MongoDB query"을(를) 게시했습니다 (유형: 취약점 권고). 심각도는 "보통"(medium)입니다. 관련 기술: JavaScript / Node.js, MongoDB, Vercel.