Skip to content

CVE-2024-23834 Discourse improperly sanitized user input leads to XSS

MediumCVSS 6.1 EPSS 0.62%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Discourse is an open-source discussion platform. Improperly sanitized user input could lead to an XSS vulnerability in some situations. This vulnerability only affects Discourse instances which have disabled the default Content Security Policy. The vulnerability is patched in 3.1.5 and 3.2.0.beta5. As a workaround, ensure Content Security Policy is enabled and does not include unsafe-inline.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse < 3.1.5; < 3.2.0; = 3.2.0-beta1; = 3.2.0-beta2 +4 more 3.1.5, 3.2.0 Fixed

Affected products

ProductAffected versionsFixed in
discourse = < 3.1.5 No fix listed
discourse = >= 3.2.0.beta1, < 3.2.0.beta5 No fix listed
discourse < 3.1.5 3.1.5
discourse < 3.2.0 3.2.0
discourse = 3.2.0-beta1 No fix listed
discourse = 3.2.0-beta2 No fix listed
discourse = 3.2.0-beta3 No fix listed
discourse = 3.2.0-beta4 No fix listed

References