Vulnerabilities · 2021 · Discourse
CVE-2021-32764
Discourse vulnerability
Discourse is an open-source discussion platform. In Discourse versions 2.7.5 and prior, parsing and rendering of YouTube Oneboxes can be susceptible to XSS attacks. This vulnerability only affects sites which have modified or disabled Discourse's default Content Security Policy. The issue is patched in `stable` version 2.7.6, `beta` version 2.8.0.beta3, and `tests-passed` version 2.8.0.beta3. As a workaround, ensure that the Content Security Policy is enabled, and has not been modified in a way which would make it more vulnerable to XSS attacks.
Affected products
Discourse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
More vulnerabilities in Discourse products
CVE-2026-24742CVE-2026-23743CVE-2026-21865CVE-2025-69289CVE-2025-69218CVE-2025-68934CVE-2025-68933CVE-2025-68666All 197
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.