# CVE-2024-56328: HTMLi(XSS without CSP) via Onebox urls in Discourse

- Severity: Medium 6.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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.37%, higher than 33% of CVEs (2026-12-01)
- Published: 2025-02-04T20:55:17.223Z
- Modified: 2026-09-08T08:46:17.872Z
- Also known as: BIT-DISCOURSE-2024-56328, GHSA-j855-mhxj-x6vg
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Discourse is an open source platform for community discussion. An attacker can execute arbitrary JavaScript on users' browsers by posting a maliciously crafted onebox url. This issue only affects sites with CSP disabled. This problem has been patched in the latest version of Discourse. Users are advised to upgrade. Users unable to upgrade should enable CSP, disable inline Oneboxes globally, or allow specific domains for Oneboxing.

(As written by CVE List.)

## Affected

- discourse discourse: stable: <= 3.3.3; beta: <= 3.4.0.beta3; tests-passed: <= 3.4.0.beta3; before 3.3.3; before 3.4.0; 3.4.0
- discourse (Bitnami): before 3.4.0

## Every score

- GitHub_M: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/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-j855-mhxj-x6vg> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-56328> (web)

## Sources

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

---

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