CVE-2022-23549 json
Discourse vulnerable to bypass of post max_length using HTML comments
published 2023-01-05 3 y ago modified 2026-09-08 2 mo ago also BIT-discourse-2022-23549 , EUVD-2022-28567 , GHSA-p47g-v5wr-p4xp
- cvss
- 5.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 49%
- public exploits
- 0
- none known
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.
Patch / fix
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 19 mo ago
Exploit prediction
0.62% chance of exploitation in the next 30 days, higher than 49% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.7 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:H |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
| OSV | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| bitnami | discourse | <2.8.14 |
2.8.14 |
Affected products
- discourse discourse
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/discourse/discourse/commit/bf6b08670a927cc80bb090b7a2e710b4b554e6a8
patch, third-party-advisory, advisory
-
github.com
/discourse/discourse/security/advisories/GHSA-p47g-v5wr-p4xp
third-party-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-23549
web
Sources
- CVE List CVE-2022-23549
- NVD CVE-2022-23549
- OSV BIT-discourse-2022-23549
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.