Skip to main content
← All vulnerabilities
CVE-2022-23549

Discourse vulnerable to bypass of post max_length using HTML comments

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.8.14, 2.9.0.beta16
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • discourse discourse

    From 2.8.14 · fixed in 2.8.14; From 2.9.0.beta0 · through 2.9.0.beta0; From 2.9.0.beta16 · fixed in 2.9.0.beta16

References 2

GitHub · discourse/discourse