Vulnerability · Published Sep 28, 2023 · Assigned by GitHub_M
CVE-2023-43657Improper escaping of encrypted topic titles can lead to Cross-site Scripting under non-default site configuration
High 7.2
In plain English
A high-severity cross-site scripting in discourse-encrypt from discourse. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.6% (higher than 48% of all known vulnerabilities).
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| discourse | discourse-encrypt | <= c492904c |
Weakness: CWE-79 · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H