Skip to content

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

MediumCVSS 6.5 EPSS 0.72%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse < 2.8.14; = 2.9.0-beta1; = 2.9.0-beta2; = 2.9.0-beta3 +14 more 2.8.14, 2.9.0.beta16 Fixed

Affected products

ProductAffected versionsFixed in
discourse >= 2.8.14, < 2.8.14 2.8.14
discourse >= 2.9.0.beta0, <= 2.9.0.beta0 No fix listed
discourse >= 2.9.0.beta16, < 2.9.0.beta16 2.9.0.beta16
discourse < 2.8.14 2.8.14
discourse = 2.9.0-beta1 No fix listed
discourse = 2.9.0-beta10 No fix listed
discourse = 2.9.0-beta11 No fix listed
discourse = 2.9.0-beta12 No fix listed
discourse = 2.9.0-beta13 No fix listed
discourse = 2.9.0-beta14 No fix listed
discourse = 2.9.0-beta2 No fix listed
discourse = 2.9.0-beta3 No fix listed
discourse = 2.9.0-beta4 No fix listed
discourse = 2.9.0-beta5 No fix listed
discourse = 2.9.0-beta6 No fix listed
discourse = 2.9.0-beta7 No fix listed
discourse = 2.9.0-beta8 No fix listed
discourse = 3.0.0-beta15 No fix listed

References