CVE-2022-23549: Discourse vulnerable to bypass of post max_length using HTML comments
Discourse is an option source discussion platform. Prior to version 2.8.14 on the stable branch and version 2.9.0.beta16 on the beta and tests-passed branches, users can create posts with raw body longer than the maxlength site setting by including html comments that are not counted toward the character limit. This issue is patched in versions 2.8.14 and 2.9.0.beta16. There are no known workarounds.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2022-23549?
CVE-2022-23549 is a vulnerability in Discourse that allows users to create posts with a raw body longer than the max_length site setting.
How severe is CVE-2022-23549?
CVE-2022-23549 has a severity score of 6.5, which is considered medium.
How can I fix CVE-2022-23549 in Discourse?
To fix CVE-2022-23549 in Discourse, you need to update to version 2.8.14 on the stable branch or version 2.9.0.beta16 on the beta and tests-passed branches.
Where can I find more information about CVE-2022-23549?
You can find more information about CVE-2022-23549 on the GitHub commit and security advisory links provided: [GitHub Commit](https://github.com/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8), [Security Advisory](https://github.com/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp).
What is the CWE classification of CVE-2022-23549?
CVE-2022-23549 is classified as CWE-20, which is Improper Input Validation.