Vulnerability Description
discourse-encrypt is a plugin that provides a secure communication channel through Discourse. Improper escaping of encrypted topic titles could lead to a cross site scripting (XSS) issue when a site has content security policy (CSP) headers disabled. Having CSP disabled is a non-default configuration, and having it disabled with discourse-encrypt installed will result in a warning in the Discourse admin dashboard. This has been fixed in commit `9c75810af9` which is included in the latest version of the discourse-encrypt plugin. Users are advised to upgrade. Users unable to upgrade should ensure that CSP headers are enabled and properly configured.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Discourse | Discourse-Encrypt | < 2023-09-28 |
Related Weaknesses (CWE)
References
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSPProduct
- https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67deaPatch
- https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7Vendor Advisory
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSPProduct
- https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67deaPatch
- https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7Vendor Advisory
FAQ
What is CVE-2023-43657?
CVE-2023-43657 is a vulnerability with a CVSS score of 7.2 (HIGH). discourse-encrypt is a plugin that provides a secure communication channel through Discourse. Improper escaping of encrypted topic titles could lead to a cross site scripting (XSS) issue when a site h...
How severe is CVE-2023-43657?
CVE-2023-43657 has been rated HIGH with a CVSS base score of 7.2/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2023-43657?
Check the references section above for vendor advisories and patch information. Affected products include: Discourse Discourse-Encrypt.