CVE-2023-46130
MEDIUM5.4EPSS 0.19%Bypassing height value allowed in some theme components
Published: 3/6/2024Modified: 10/15/2025
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 packages (1)
- Bitnami/discoursefrom 0, < 3.2.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L |
References (4)
- WEBhttps://github.com/discourse/discourse/commit/6183d9633de873ac2b1e9cdb6ac1c94b4ffae9cb
- WEBhttps://github.com/discourse/discourse/commit/89a2e60706ce22e4afc463d03af2f34c53291800
- WEBhttps://github.com/discourse/discourse/security/advisories/GHSA-c876-638r-vfcg
- WEBhttps://nvd.nist.gov/vuln/detail/CVE-2023-46130