Invites restricted to an email or invite links restricted to an email domain may be bypassed by a under certain conditions
Package
Discourse
(Discourse)
Affected versions
stable <= 2.8.4; beta <= 2.9.0.beta5; tests-passed <= 2.9.0.beta5
Patched versions
stable >= 2.8.5; beta >= 2.9.0.beta6; tests-passed > 2.9.0.beta6
Impact
Under certain conditions, a logged in user can redeem an invite with an email that either doesn't match the invite's email or does not adhere to the email domain restriction of an invite link. The impact of this flaw is aggravated when the invite has been configured to add the user that accepts the invite into restricted groups. Once a user has been incorrectly added to a restricted group, the user may then be able to view content which that are restricted to the respective group.
Patches
This issue is patched in the latest stable, beta and tests-passed versions of Discourse
Workarounds
There are no workarounds for this problem.