Live threats

All CVEs / Discourse

CVE-2024-23834Discourse

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.6%
probability of exploitation in 30 days · percentile 44
Auth required
No
Published
Jan 30, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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`.

Original NVD text.

What to do

  1. Apply the vendor's security update for Discourse.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
discoursediscourse< 3.1.5
discoursediscourse< 3.2.0
discoursediscourse3.2.0
discoursediscourse3.2.0
discoursediscourse3.2.0
discoursediscourse3.2.0

Official sources

References

Links published by the sources. Open them with care.