CVE-2022-23549
published medium CVSS 3.1 · 5.7Discourse vulnerable to bypass of post max_length using HTML comments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| discourse | — | discourse2.8.14 to < 2.8.14 · 2.9.0.beta0 through 2.9.0.beta0 · 2.9.0.beta16 to < 2.9.0.beta16 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.7 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| discourse | discourse | 2.8.14 to < 2.8.14 (affected · custom)2.9.0.beta0 through 2.9.0.beta0 (affected · custom)2.9.0.beta16 to < 2.9.0.beta16 (affected · custom) | GitHub_M · cna |
Weaknesses
1- CWE-20 CWE-20 Improper Input Validation
References
2Provider assertions
3GitHub_M · cna
Discourse vulnerable to bypass of post max_length using HTML comments
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 8dc71b7d5774bbfe018692f7f317a03f8299193f04374ef4175faa0381572cd3
- Ingested
- 23 Sep 2026, 07:58:41 UTC
- Source record
- Official CVE record