CVE-2024-56328
Severity CVSS v4.0:
Pending analysis
Type:
CWE-79
Cross-Site Scripting (XSS)
Publication date:
04/02/2025
Last modified:
26/09/2025
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.
Impact
Base Score 3.x
6.50
Severity 3.x
MEDIUM
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* | 3.3.3 (excluding) | |
| cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* | 3.4.0 (excluding) | |
| cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:* | ||
| cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:* | ||
| cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:* |
To consult the complete list of CPE names with products and versions, see this page



