Skip to content

[2.x] fix: enforce expiry check on password reset token submission - #4550

Merged
imorland merged 3 commits into
2.xfrom
im/fix-password-reset-token-expiry
Apr 11, 2026
Merged

[2.x] fix: enforce expiry check on password reset token submission#4550
imorland merged 3 commits into
2.xfrom
im/fix-password-reset-token-expiry

Conversation

@imorland

Copy link
Copy Markdown
Member

Fixes a security issue where expired password reset tokens were accepted by the POST /reset endpoint. Adds PasswordToken::validOrFail() (mirroring the existing EmailToken implementation) and switches SavePasswordController to use it.

Ref: #4545

@imorland
imorland requested a review from a team as a code owner April 11, 2026 13:28
@imorland imorland added this to the 2.0.0-rc.1 milestone Apr 11, 2026
@imorland
imorland merged commit 1dcfc58 into 2.x Apr 11, 2026
25 checks passed
@imorland
imorland deleted the im/fix-password-reset-token-expiry branch April 11, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant