CVE-2023-29196

HTML injection via topic embedding in Discourse

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.

Category

4.2
CVSS
Severity: Medium
CVSS 3.1 •
EPSS 0.11%
Third-Party Advisory github.com
Affected: discourse discourse
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2023-29196?
CVE-2023-29196 has been scored as a medium severity vulnerability.
How to fix CVE-2023-29196?
To fix CVE-2023-29196, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2023-29196 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2023-29196 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2023-29196?
CVE-2023-29196 affects discourse discourse.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.