CVE-2024-53266
Cross-site Scripting (XSS) via topic titles when CSP disabled in Discourse
Description
Discourse is an open source platform for community discussion. In affected versions with some combinations of plugins, and with CSP disabled, activity streams in the user's profile page may be vulnerable to XSS. This has been patched in the latest version of Discourse core. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled.
INFO
Published Date :
Feb. 4, 2025, 10:15 p.m.
Last Modified :
Sept. 25, 2025, 8:27 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source | 
|---|---|---|---|---|---|---|
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | 
References to Advisories, Solutions, and Tools
                                            Here, you will find a curated list of external links that provide in-depth
                                            information, practical solutions, and valuable tools related to
                                            CVE-2024-53266.
                                        
| URL | Resource | 
|---|---|
| https://github.com/discourse/discourse/security/advisories/GHSA-hw4j-4hg7-22h2 | Third Party Advisory | 
CWE - Common Weakness Enumeration
            While CVE identifies
            specific instances of vulnerabilities, CWE categorizes the common flaws or
            weaknesses that can lead to vulnerabilities. CVE-2024-53266 is
            associated with the following CWEs:
        
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
            (CAPEC)
            stores attack patterns, which are descriptions of the common attributes and
            approaches employed by adversaries to exploit the CVE-2024-53266
            weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
			The following list is the news that have been mention
			CVE-2024-53266 vulnerability anywhere in the article.
		
                The following table lists the changes that have been made to the
                CVE-2024-53266 vulnerability over time.
            
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
- 
                            
Reanalysis by [email protected]
Sep. 25, 2025
Action Type Old Value New Value Changed CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* versions up to (excluding) 3.4.0 *cpe:2.3:a:discourse:discourse:3.4.0:-:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* versions up to (excluding) 3.3.3 OR *cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* versions up to (excluding) 3.4.0 *cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* versions up to (excluding) 3.3.3  - 
                            
Initial Analysis by [email protected]
Aug. 26, 2025
Action Type Old Value New Value Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Added CPE Configuration OR *cpe:2.3:a:discourse:discourse:*:*:*:*:beta:*:*:* versions up to (excluding) 3.4.0 *cpe:2.3:a:discourse:discourse:3.4.0:-:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta1:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta2:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:3.4.0:beta3:*:*:beta:*:*:* *cpe:2.3:a:discourse:discourse:*:*:*:*:stable:*:*:* versions up to (excluding) 3.3.3 Added Reference Type GitHub, Inc.: https://github.com/discourse/discourse/security/advisories/GHSA-hw4j-4hg7-22h2 Types: Third Party Advisory  - 
                            
New CVE Received by [email protected]
Feb. 04, 2025
Action Type Old Value New Value Added Description Discourse is an open source platform for community discussion. In affected versions with some combinations of plugins, and with CSP disabled, activity streams in the user's profile page may be vulnerable to XSS. This has been patched in the latest version of Discourse core. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled. Added CVSS V3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N Added CWE CWE-79 Added Reference https://github.com/discourse/discourse/security/advisories/GHSA-hw4j-4hg7-22h2