Live threats

All CVEs / Discourse

CVE-2023-29196Discourse

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.4%
probability of exploitation in 30 days · percentile 27
Auth required
No
Published
Apr 18, 2023
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 platform for community discussion. This vulnerability is not exploitable on the default install of Discourse. A custom feature must be enabled for it to work at all, and the attacker’s payload must pass the CSP to be executed. However, if an attacker succeeds in embedding Javascript that does pass the CSP, it could result in session hijacking for any users that view the attacker’s post. The vulnerability is patched in the latest tests-passed, beta and stable branches. Users are advised to upgrade. Users unable to upgrade should enable and/or restore your site's CSP to the default one provided with Discourse. Remove any embed-able hosts configured.

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.0.3
discoursediscourse< 3.1.0
discoursediscourse3.1.0
discoursediscourse3.1.0
discoursediscourse3.1.0

Official sources

References

Links published by the sources. Open them with care.