JavaScriptSeverity: HighStatus: Published

MyFit: mesocycle update accepted unfiltered Prisma input, allowing account takeover

The mesocycles.editById endpoint passed a client-supplied Prisma MesocycleUpdateInput through without filtering. A logged-in user could use nested user connect and update operations to change another user’s account, leading to account takeover (CWE-639, CWE-915). Fixed in 3.22.1.

Timeline

  1. Found
  2. Reported via private vulnerability report
  3. Advisory published
  4. Entry last updated

Machine-readable: JSON · Markdown · ID security/javascript/WhyAsh5114__MyFit/2026-10-27-mesocycle-editbyid-mass-assignment-account-takeover

If this work is useful to you, you can support it on Buy Me a Coffee.