XSS in Discourse Discourse-Encrypt
CVE-2023-43657
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.005 (39.4th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Discourse Discourse-encrypt — versions <= c492904c
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Vendor Advisory)
- security-advisories@github.com (Patch, x_refsource_MISC)
- security-advisories@github.com (Product, x_refsource_MISC)
Frequently asked questions
- What is CVE-2023-43657?
- CVE-2023-43657 is a high-severity vulnerability in Discourse Discourse-Encrypt, classified under Cross-site Scripting. CVSS score: 7.2/10. Published 2023-09-28.
- How severe is CVE-2023-43657?
- High severity. CVSS v3 base score is 7.2 out of 10.