CVE-2023-43659
JSON

8.0high

Cross-site Scripting via email preview when CSP disabled in Discourse

Severity
8.0high CVSS:3.1 by GitHub_M
Exploit likelihood
0.48% (higher than 43% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2023-43659GHSA-g4qg-5q2h-m8ph

Description

Discourse is an open source platform for community discussion. Improper escaping of user input allowed for Cross-site Scripting attacks via the digest email preview UI. This issue only affects sites with CSP disabled. This issue has been patched in the 3.1.1 stable release as well as the 3.2.0.beta1 release. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum.

Affected

Product or packageVersionsReported by
discourse discoursestable <= 3.1.1, beta <= 3.2.0.beta1, from stable up to 3.1.1, from beta up to 3.2.0.beta1, up to 3.1.1, 3.2.0CVE List, NVD
discourse (Bitnami)up to 3.1.1Bitnami Vulnerability Database

All scores

GitHub_M8.0high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasehigh rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

Discourse is an open source platform for community discussion. Improper escaping of user input allowed for Cross-site Scripting attacks via the digest email preview UI. This issue only affects sites with CSP disabled. This issue has been patched in the 3.1.1 stable release as well as the 3.2.0.beta1 release. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled on the forum.

NVD (es)

Discourse es una plataforma de código abierto para el debate comunitario. El escape inadecuado de la entrada del usuario permitió ataques de Cross-Site Scripting a través de la interfaz de usuario de vista previa del resumen del correo electrónico. Este problema sólo afecta a sitios con CSP deshabilitado. Este problema se solucionó en la versión 3.1.1 stable y en la versión 3.2.0.beta1. Se recomienda a los usuarios que actualicen. Los usuarios que no puedan actualizar deben asegurarse de que CSP esté habilitado en el foro.

References

Sources

SourceRecordLicence
CVE ListCVE-2023-43659 changed 2024-09-16CVE Terms of Use
NVDCVE-2023-43659 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2023-43659 changed 2026-09-10Apache-2.0