CVE-2024-56328 MEDIUM

CVE-2024-56328: HTMLi(XSS without CSP) via Onebox urls in Discourse

Vendor Discourse
Product discourse
Weakness CWE-79 · XSS
Published February 4, 2025
Last update February 12, 2025

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality Low
Integrity None

CVSS vector

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

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

February 4, 2025 CVE published
February 12, 2025 Record updated