Vulnerability Description
Discourse is an open source platform for community discussion. In affected versions category names can be used for Cross-site scripting(XSS) attacks. This is mitigated by Discourse's default Content Security Policy and this vulnerability only affects sites which have modified or disabled or changed Discourse's default Content Security Policy have allowed for moderators to modify categories. This issue is patched in the latest stable, beta and tests-passed versions of Discourse. Users are advised to 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Discourse | < 2.7.8 |
Related Weaknesses (CWE)
References
- https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqphThird Party Advisory
- https://github.com/discourse/discourse/security/advisories/GHSA-xhmc-9jwm-wqphThird Party Advisory
FAQ
What is CVE-2021-39161?
CVE-2021-39161 is a vulnerability with a CVSS score of 4.4 (MEDIUM). Discourse is an open source platform for community discussion. In affected versions category names can be used for Cross-site scripting(XSS) attacks. This is mitigated by Discourse's default Content S...
How severe is CVE-2021-39161?
CVE-2021-39161 has been rated MEDIUM with a CVSS base score of 4.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-39161?
Check the references section above for vendor advisories and patch information. Affected products include: Discourse Discourse.