// For flags

CVE-2023-29196

HTML injection via topic embedding in Discourse

Severity Score

6.1
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2023-04-03 CVE Reserved
  • 2023-04-18 CVE Published
  • 2024-08-02 CVE Updated
  • 2024-11-08 EPSS Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
CAPEC
References (1)
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
< 3.0.3
Search vendor "Discourse" for product "Discourse" and version " < 3.0.3"
stable
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
< 3.1.0
Search vendor "Discourse" for product "Discourse" and version " < 3.1.0"
beta
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
3.1.0
Search vendor "Discourse" for product "Discourse" and version "3.1.0"
beta1, beta
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
3.1.0
Search vendor "Discourse" for product "Discourse" and version "3.1.0"
beta2, beta
Affected
Discourse
Search vendor "Discourse"
Discourse
Search vendor "Discourse" for product "Discourse"
3.1.0
Search vendor "Discourse" for product "Discourse" and version "3.1.0"
beta3, beta
Affected