Vulnerabilities · 2023 · Discourse
CVE-2023-43657
Discourse-encrypt vulnerability
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.
Affected products
Discourse-encrypt. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Discourse-encrypt 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
- github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7v · Vendor Advisory
- github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4e · Patch
- developer.mozilla.org/en-US/docs/Web/HTTP/CSP
- nvd.nist.gov/vuln/detail/CVE-2023-43657
- cve.org/CVERecord?id=CVE-2023-43657
More vulnerabilities in Discourse products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.