Headline
CVE-2023-22454: XSS through pending post titles descriptions
Discourse is an option source discussion platform. Prior to version 2.8.14 on the stable
branch and version 3.0.0.beta16 on the beta
and tests-passed
branches, pending post titles can be used for cross-site scripting attacks. Pending posts can be created by unprivileged users when a category has the “require moderator approval of all new topics” setting set. This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy. A patch is available in versions 2.8.14 and 3.0.0.beta16.
Package
No package listed
Affected versions
stable <= 2.8.13; beta <= 3.0.0.beta15; tests-passed <= 3.0.0.beta15
Patched versions
stable >= 2.8.14; beta >= 3.0.0.beta16; tests-passed >= 3.0.0.beta16
Description
Impact
Pending post titles can be used for XSS attacks. Pending posts can be created by unprivileged users when a category has the “require moderator approval of all new topics” setting set.
Patches
This issue is patched in the latest stable, beta and tests-passed versions of Discourse.
Workarounds
This vulnerability can lead to a full XSS on sites which have modified or disabled Discourse’s default Content Security Policy.