{"id":"CVE-2023-43657","published":"2023-09-28T18:04:26Z","modified":"2024-09-23T18:21:57Z","title":"Improper escaping of encrypted topic titles can lead to Cross-site Scripting under non-default site configuration","vendor":"discourse","product":"discourse-encrypt","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00587,"percentile":0.48978,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4e","tags":["x_refsource_MISC"]},{"url":"https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP","tags":["x_refsource_MISC"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":9.8},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"discourse","affectedVersions":[{"vendor":"discourse","product":"discourse-encrypt","versions":["<= c492904c"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2024-09-23T18:19:59.485389Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2023-48046","exploited":false,"provenance":"source"}}