CVE-2024-53266
JSON

4.3medium

Cross-site Scripting (XSS) via topic titles when CSP disabled in Discourse

Severity
4.3medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.29% (higher than 22% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2024-53266GHSA-hw4j-4hg7-22h2

Description

Discourse is an open source platform for community discussion. In affected versions with some combinations of plugins, and with CSP disabled, activity streams in the user's profile page may be vulnerable to XSS. This has been patched in the latest version of Discourse core. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled.

Affected

Product or packageVersionsReported by
discourse discoursestable: < 3.3.3, tests-passed: < 3.4.0.beta4, before 3.3.3, before 3.4.0, 3.4.0CVE List, NVD
discourse (Bitnami)before 3.3.3Bitnami Vulnerability Database

All scores

GitHub_M4.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
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 Databasemedium rating

Classification

CWE-79

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

What each source says

CVE List

Discourse is an open source platform for community discussion. In affected versions with some combinations of plugins, and with CSP disabled, activity streams in the user's profile page may be vulnerable to XSS. This has been patched in the latest version of Discourse core. Users are advised to upgrade. Users unable to upgrade should ensure CSP is enabled.

NVD (es)

Discourse es una plataforma de código abierto para debates comunitarios. En las versiones afectadas con algunas combinaciones de complementos y con CSP deshabilitado, los flujos de actividad en la página de perfil del usuario pueden ser vulnerables a XSS. Esto se ha corregido en la última versión del núcleo de Discourse. Se recomienda a los usuarios que actualicen la versión. Los usuarios que no puedan actualizar la versión deben asegurarse de que CSP esté habilitado.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-53266 changed 2025-02-04CVE Terms of Use
NVDCVE-2024-53266 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2024-53266 changed 2026-09-08Apache-2.0