Home

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.

PUBLISHED Reserved 2024-12-19 | Published 2025-02-04 | Updated 2025-02-12 | Assigner GitHub_M




MEDIUM: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L

Problem types

CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Product status

stable: <= 3.3.3
affected

beta: <= 3.4.0.beta3
affected

tests-passed: <= 3.4.0.beta3
affected

References

github.com/...course/security/advisories/GHSA-j855-mhxj-x6vg

cve.org (CVE-2024-56328)

nvd.nist.gov (CVE-2024-56328)

Download JSON