XSS in Discourse

CVE-2021-32764

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.005 (42.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.1 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2021-32764?
CVE-2021-32764 is a high-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 8.1/10. Published 2021-07-15.
How severe is CVE-2021-32764?
High severity. CVSS v3 base score is 8.1 out of 10.