# CVE-2024-35234: Discourse vulnerable to stored-dom XSS via Facebook Oneboxes

- Severity: Medium 4.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/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.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2024-07-03T18:23:10.179Z
- Modified: 2026-09-08T08:46:09.174Z
- Also known as: BIT-DISCOURSE-2024-35234, GHSA-5chg-hm8c-wc58
- 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 version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch. As a workaround, ensure CSP is enabled on the forum.

(As written by CVE List.)

## Affected

- discourse discourse: stable < 3.2.3; tests-passed < 3.3.0.beta3; before 3.2.3; before 3.3.0; 3.3.0
- discourse (Bitnami): before 3.2.3

## Every score

- GitHub_M: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/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-5chg-hm8c-wc58> (advisory, third-party-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-35234> (web)

## Sources

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

---

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