VulnPulseConnecting…
MediumAdvisoryJavaScript / Node.jsMongoDBVercel

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…

Read on GitHub Advisory Database

SourceGitHub Advisory Database
Fetched10/29/2026, 09:48 AM
DataMarkdown JSON

On 10/29/2026, 06:17 AM, GitHub Advisory Database published "Waline login accepts a non-string email as a match-all MongoDB query" (type: Advisory). Severity is "Medium" (medium). Related technologies: JavaScript / Node.js, MongoDB, Vercel.