# CVE-2023-22740: Discourse vulnerable to Allocation of Resources Without Limits via Chat drafts

- Severity: Medium 4.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.74%, higher than 55% of CVEs (2026-12-01)
- Published: 2023-01-27T00:39:52.641Z
- Modified: 2026-09-08T08:46:06.312Z
- Also known as: BIT-DISCOURSE-2023-22740, GHSA-pwj4-rf62-p224
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source platform for community discussion. Versions prior to 3.1.0.beta1 (beta) (tests-passed) are vulnerable to  Allocation of Resources Without Limits. Users can create chat drafts of an unlimited length, which can cause a denial of service by generating an excessive load on the server. Additionally, an unlimited number of drafts were loaded when loading the user. This issue has been patched in version 2.1.0.beta1 (beta) and (tests-passed). Users should upgrade to the latest version where a limit has been introduced. There are no workarounds available.

(As written by CVE List.)

## Affected

- discourse discourse: beta < 3.1.0.beta1; tests-passed < 3.1.0.beta1; up to 3.0.0
- discourse (Bitnami): before 3.0.1

## Every score

- GitHub_M: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-pwj4-rf62-p224> (advisory, third-party-advisory)
- <https://github.com/discourse/discourse/commit/5eaf0802398ff06604f03b27a28dd274f2ffa576> (advisory, patch, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-22740> (web)

## Sources

- CVE List: [CVE-2023-22740](https://www.cve.org/CVERecord?id=CVE-2023-22740), CVE Terms of Use, modified 2025-03-10
- NVD: [CVE-2023-22740](https://nvd.nist.gov/vuln/detail/CVE-2023-22740), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2023-22740](https://osv.dev/vulnerability/BIT-DISCOURSE-2023-22740), Apache-2.0, modified 2026-09-08

---

Page: https://cve.day/CVE-2023-22740 · Whole record: https://cve.day/CVE-2023-22740.json · Rebuilt by cve.day 2026-11-25T22:58:21.751Z
