CVE-2024-53266
Published: 04 February 2025
Summary
CVE-2024-53266 is a medium-severity Cross-site Scripting (CWE-79) vulnerability in Discourse Discourse. Its CVSS base score is 4.3 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Drive-by Compromise (T1189); ranked at the 44.1th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-51923
Vulnerability details
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…
more
version of Discourse core. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
XSS via topic titles enables arbitrary JavaScript execution in victims' browsers on profile pages (with plugins and CSP disabled), facilitating drive-by compromise, public-facing app exploitation, client-side execution, browser session hijacking, web session cookie theft, and browser credential theft.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing submits XSS payloads to web applications, detecting cross-site scripting flaws for subsequent remediation.
Validates web inputs to reject script-related content that could produce XSS.
Output validation against expected content can reject or sanitize script content in generated web pages, reducing XSS exploitability.