4.3medium
Bypassing height value allowed in some theme components
- Severity
- 4.3medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.86% (higher than 59% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- BIT-DISCOURSE-2023-46130GHSA-c876-638r-vfcg
Description
Discourse is an open source platform for community discussion. Prior to version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches, some theme components allow users to add svgs with unlimited `height` attributes, and this can affect the availability of subsequent replies in a topic. Most Discourse instances are unaffected, only instances with the svgbob or the mermaid theme component are within scope. The issue is patched in version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches. As a workaround, disable or remove the relevant theme components.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| discourse discourse | < 3.1.3, >= 3.2.0.beta0, < 3.2.0.beta3, before 3.1.3, before 3.2.0, 3.2.0 | CVE List, NVD |
| discourse (Bitnami) | before 3.2.0 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L |
| NVD | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
| 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 platform for community discussion. Prior to version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches, some theme components allow users to add svgs with unlimited `height` attributes, and this can affect the availability of subsequent replies in a topic. Most Discourse instances are unaffected, only instances with the svgbob or the mermaid theme component are within scope. The issue is patched in version 3.1.3 of the `stable` branch and version 3.2.0.beta3 of the `beta` and `tests-passed` branches. As a workaround, disable or remove the relevant theme components.
NVD (es)
Discourse es una plataforma de código abierto para el debate comunitario. Antes de la versión 3.1.3 de la rama "stable" y la versión 3.2.0.beta3 de las ramas "beta" y "tests-passed", algunos componentes del tema permitían a los usuarios agregar archivos svg con atributos de "height" ilimitados, y esto puede afectar la disponibilidad de respuestas posteriores en un tema. La mayoría de las instancias de Discourse no se ven afectadas, solo las instancias con el componente de tema svgbob o sirena están dentro del alcance. El problema se solucionó en la versión 3.1.3 de la rama "stable" y en la versión 3.2.0.beta3 de las ramas "beta" y "tests-passed". Como workaround, deshabilite o elimine los componentes relevantes del tema.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-46130 changed 2024-09-03 | CVE Terms of Use |
| NVD | CVE-2023-46130 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-DISCOURSE-2023-46130 changed 2026-09-08 | Apache-2.0 |