CVE-2024-56328
HTMLi(XSS without CSP) via Onebox urls in Discourse
6.1
MEDIUM
CVSS 3.1
EPSS 0.15%
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.
How to fix CVE-2024-56328
To remediate CVE-2024-56328, upgrade the affected package to a fixed version below.
- —upgrade to 3.4.0 or later
Is CVE-2024-56328 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 3.4.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |