Skip to content

v4.2.0

Choose a tag to compare

@sampoyigi sampoyigi released this 21 Sep 21:40
1a72036

This release improves security across several areas, including password reset timing, mass-assignment protection, and a new permission for staff role management.

Added

  • Introduced a dedicated Admin.StaffRoles permission for managing staff roles, so that general staff access no longer grants the ability to edit roles.

Fixed

  • Wrapped the forgot-password handler in Laravel's Timebox to prevent email enumeration attacks by equalizing response timing between existing and non-existing account paths.
  • Used hash_equals for password reset code comparison to ensure timing-safe string comparison.
  • Prevented super_user from being mass-assigned on staff accounts.
  • Prevented authenticated customers from mass-assigning customer_group_id or status fields via the API; access tokens are now revoked when an account is disabled.