Exposure of poll options and votes to unauthorized users
Package
Discourse
(Discourse)
Affected versions
stable < 3.1.1; beta/tests-passed < 3.2.0.beta2
Patched versions
stable >= 3.1.2; beta/tests-passed >= 3.2.0.beta2
Impact
Attackers with details specific to a poll in a topic can use the
/polls/grouped_poll_results
endpoint to view the content of options in the poll and the number of votes for groups of poll participants. This impacts private polls where the results were intended to only be viewable by authorized users.Patches
This issue is patched in the latest stable, beta and tests-passed versions of Discourse.
Workarounds
There is no workaround for this issue apart from upgrading to the fixed version.