Security mailing lists by PureSourceCode

CVE-2022-31025

MEDIUM 5.3CVSS 3.1

Discourse is an open source platform for community discussion. Prior to version 2.8.4 on the stable branch and 2.9.0beta5 on the beta and tests-passed branches, inviting users on sites that use single sign-on could bypass the must_approve_users check and invites by staff are always approved automatically. The issue is patched in Discourse version 2.8.4 on the stable branch and version 2.9.0.beta5 on the beta and tests-passed branches. As a workaround, disable invites or increase min_trust_level_to_allow_invite to reduce the attack surface to more trusted users.

Published
7 Jun 2022
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-285
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 2.6 CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:N/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.0 AV:N/AC:L/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD discourse discourse
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*
< 2.8.4 2.8.4
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.9.0:beta1:*:*:*:*:*:*
= 2.9.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.9.0:beta2:*:*:*:*:*:*
= 2.9.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.9.0:beta3:*:*:*:*:*:*
= 2.9.0
NVD discourse discourse
cpe:2.3:a:discourse:discourse:2.9.0:beta4:*:*:*:*:*:*
= 2.9.0

References

History

  • 25 Nov 2026 20:34 UTC · NVD: first stored (published 7 Jun 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.