Repository navigation
v4.2.0
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.StaffRolespermission 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
Timeboxto prevent email enumeration attacks by equalizing response timing between existing and non-existing account paths. - Used
hash_equalsfor password reset code comparison to ensure timing-safe string comparison. - Prevented
super_userfrom being mass-assigned on staff accounts. - Prevented authenticated customers from mass-assigning
customer_group_idorstatusfields via the API; access tokens are now revoked when an account is disabled.