CWE
20
Advisory Published
Updated

CVE-2022-23549: Discourse vulnerable to bypass of post max_length using HTML comments

First published: Thu Jan 05 2023(Updated: )

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 `max_length` 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.

Credit: security-advisories@github.com

Affected SoftwareAffected VersionHow to fix
Discourse Discourse<2.8.14
Discourse Discourse=2.9.0-beta1
Discourse Discourse=2.9.0-beta10
Discourse Discourse=2.9.0-beta11
Discourse Discourse=2.9.0-beta12
Discourse Discourse=2.9.0-beta13
Discourse Discourse=2.9.0-beta14
Discourse Discourse=2.9.0-beta2
Discourse Discourse=2.9.0-beta3
Discourse Discourse=2.9.0-beta4
Discourse Discourse=2.9.0-beta5
Discourse Discourse=2.9.0-beta6
Discourse Discourse=2.9.0-beta7
Discourse Discourse=2.9.0-beta8
Discourse Discourse=3.0.0-beta15

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203