Confirmed Confirming an email change while logged in as another member logs it as "Edited by" that member

Chris D

XenForo developer
Staff member
Licensed customer
Affected version
2.3.14
Submitted via ticket:

If a member opens an email confirmation link while a different member is logged in on that browser, the user change log says the logged-in member edited the account. The confirmation link is checked against its key only, not against who is logged in, so the confirmation itself still works. Only the change log entry is wrong.

Two regular members, with no admin or moderator permissions, can produce an entry that reads as if one edited the other's account. An admin reading the change log would reasonably take this as a compromised account or a hole in permissions.

Steps to reproduce (stock install, no add-ons):

1. Log in as regular member A and change the account's email address. The account goes to "Awaiting email confirmation (from edit)".
2. Log out, then log in as regular member B in the same browser.
3. Open the confirmation link from the email sent to member A's new address.
4. In the Admin CP, go to Users > member A > Change log.

Expected: the user state change from "Awaiting email confirmation (from edit)" to "Valid" is credited to member A, the account owner.

Actual: the entry shows "Member A · Edited by Member B". The earlier entries for the email change and the change to "Awaiting email confirmation (from edit)" are correctly credited to member A.

The change log credits the logged-in visitor as the editor. It only falls back to the account owner when the visitor is a guest, so confirming while logged out is logged correctly.
 
Back
Top Bottom