CVE-2023-43657
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.
Does this matter?
Lower severity and a low EPSS score (0.49%). Track it; it rarely justifies an emergency change on its own.
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 3.1
- 6.1 MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- EPSS
- 0.49% probability · 41th percentile
- CISA KEV
- Not listed
- Weakness
- CWE-79
- Affected
- discourse/discourse-encrypt
- Source
- security-advisories@github.com
References
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSPProduct
- https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4ePatch
- https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7vVendor Advisory
- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSPProduct
- https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4ePatch
- https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7vVendor Advisory
Source: NVD record, EPSS from FIRST.org, KEV from CISA. Refreshed daily.