PT-2024-32809 · Discourse · Discourse

Nattsw

·

Published

2024-10-07

·

Updated

2025-09-25

·

CVE-2024-47772

CVSS v3.1

6.5

Medium

VectorAV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Name of the Vulnerable Software and Affected Versions Discourse versions prior to the latest version
Description An attacker can execute arbitrary JavaScript on users' browsers by sending a maliciously crafted chat message and replying to it. This issue only affects sites with Content Security Policy (CSP) disabled.
Recommendations For versions prior to the latest version, upgrade to the latest version of Discourse. As a temporary workaround for users unable to upgrade, ensure CSP is enabled on the forum. Consider enabling a Content Security Policy (CSP) as a proactive measure after upgrading.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BIT-DISCOURSE-2024-47772
CVE-2024-47772
GHSA-67MH-XHMF-C56H

Affected Products

Discourse