CVE-2023-29196

MEDIUM

Discourse < 3.0.3 and < 3.1.0 - Stored Cross-Site Scripting via Custom Feature

Title source: llm
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 4.2
EPSS 0.0029
EPSS Percentile 52.6%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
discourse/discourse 3.1.0 beta1 (3 CPE variants)
discourse/discourse < 3.0.3
discourse/discourse < 3.1.0
Published Apr 18, 2023
Tracked Since Feb 18, 2026