# CVE-2024-37165: Discourse has an XSS via Onebox system

- Severity: Medium 6.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/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.36%, higher than 32% of CVEs (2026-12-01)
- Published: 2024-07-30T14:10:24.804Z
- Modified: 2026-09-08T08:46:14.754Z
- Also known as: BIT-DISCOURSE-2024-37165, GHSA-cx83-5p6x-9qh9
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source discussion platform. Prior to 3.2.3 and 3.3.0.beta3, improperly sanitized Onebox data could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. This vulnerability is fixed in 3.2.3 and 3.3.0.beta3.

(As written by CVE List.)

## Affected

- discourse discourse: < 3.2.3; >= 3.3.0.beta1, < 3.3.0.beta3; before 3.2.3; 3.3.0
- discourse (Bitnami): before 3.2.3

## Every score

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

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-cx83-5p6x-9qh9> (advisory, vendor-advisory)
- <https://github.com/discourse/discourse/commit/26aef0c288839378b9de5819e96eac8cf4ea60fd> (fix, patch)
- <https://github.com/discourse/discourse/commit/311b737c910cf0a69f61e1b8bc0b78374b6619d2> (fix, patch)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-37165> (web)

## Sources

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

---

Page: https://cve.day/CVE-2024-37165 · Whole record: https://cve.day/CVE-2024-37165.json · Rebuilt by cve.day 2026-11-25T22:58:43.434Z
