CVE-2024-56328

MEDIUM6.1EPSS 0.15%

HTMLi(XSS without CSP) via Onebox urls in Discourse

Published: 2/20/2025Modified: 8/27/2025
Also known as:GHSA-j855-mhxj-x6vgBIT-discourse-2024-56328

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.

Affected packages (1)

CVSS scores

SourceVersionSeverityVector
osvCVSS 3.1MEDIUM6.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

References (2)