XSS in Discourse
CVE-2024-56328
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
EPSS exploit prediction
EPSS 0.004, 31.6th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Discourse — versions stable: <= 3.3.3, beta: <= 3.4.0.beta3, 3.4.0
Weakness classification (CWE)
References
- https://github.com/discourse/discourse/security/advisories/GHSA-j855-mhxj-x6vg (Third Party Advisory)