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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:discourse:discourse-encrypt:*:*:*:*:*:discourse:*:*

History

21 Nov 2024, 08:24

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 6.1
v2 : unknown
v3 : 7.2
References () https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP - Product () https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP - Product
References () https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4e - Patch () https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4e - Patch
References () https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7v - Vendor Advisory () https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7v - Vendor Advisory

02 Oct 2023, 20:15

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.1
References (MISC) https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP - (MISC) https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP - Product
References (MISC) https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4e - (MISC) https://github.com/discourse/discourse-encrypt/commit/9c75810af9a474d7edaec67dea66f852c0ba1f4e - Patch
References (MISC) https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7v - (MISC) https://github.com/discourse/discourse-encrypt/security/advisories/GHSA-5fh6-wp7p-xx7v - Vendor Advisory
CPE cpe:2.3:a:discourse:discourse-encrypt:*:*:*:*:*:discourse:*:*
First Time Discourse
Discourse discourse-encrypt

28 Sep 2023, 19:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-09-28 19:15

Updated : 2024-11-21 08:24


NVD link : CVE-2023-43657

Mitre link : CVE-2023-43657

CVE.ORG link : CVE-2023-43657


JSON object : View

Products Affected

discourse

  • discourse-encrypt
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')