CVE-2024-53266 Cross-site Scripting (XSS) via topic titles when CSP disabled in Discourse
MediumCVSS 5.4
EPSS 0.50%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| discourse | < 3.3.3; < 3.4.0; = 3.4.0-beta1; = 3.4.0-beta2 +3 more | 3.3.3, 3.4.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse | = stable: < 3.3.3 | No fix listed |
| discourse | = tests-passed: < 3.4.0.beta4 | No fix listed |
| discourse | < 3.3.3 | 3.3.3 |
| discourse | < 3.4.0 | 3.4.0 |
| discourse | = 3.4.0-beta1 | No fix listed |
| discourse | = 3.4.0-beta2 | No fix listed |
| discourse | = 3.4.0-beta3 | No fix listed |
References
- https://github.com/discourse/discourse/security/advisories/GHSA-hw4j-4hg7-22h2 third-party-advisory