4.2medium
Discourse vulnerable to stored-dom XSS via Facebook Oneboxes
- Severity
- 4.2medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.33% (higher than 28% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2024-35234GHSA-5chg-hm8c-wc58
Description
Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch. As a workaround, ensure CSP is enabled on the forum.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | stable < 3.2.3, tests-passed < 3.3.0.beta3, before 3.2.3, before 3.3.0, 3.3.0 | CVE List, NVD |
| discourse (Bitnami) | before 3.2.3 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.2medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L |
| NVD | 6.1medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Discourse is an open-source discussion platform. Prior to version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the `stable` branch and version 3.3.0.beta3 on the `tests-passed` branch. As a workaround, ensure CSP is enabled on the forum.
NVD (es)
Discourse es una plataforma de discusión de código abierto. Antes de la versión 3.2.3 en la rama "estable" y la versión 3.3.0.beta3 en la rama "pruebas aprobadas", un atacante podía ejecutar JavaScript arbitrario en los navegadores de los usuarios publicando una URL específica que contenía metaetiquetas creadas con fines malintencionados. Este problema solo afecta a sitios con la Política de seguridad de contenido (CSP) deshabilitada. El problema se solucionó en la versión 3.2.3 en la rama "estable" y en la versión 3.3.0.beta3 en la rama "pruebas aprobadas". Como workaround, asegúrese de que CSP esté habilitado en el foro.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-35234 changed 2024-08-02 | CVE Terms of Use |
| NVD | CVE-2024-35234 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2024-35234 changed 2026-09-08 | Apache-2.0 |