Headline
CVE-2023-46130: Bypassing height value allowed in some theme components
Discourse is an open source platform for community discussion. Prior to version 3.13 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.13 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.
Package
No package listed
Affected versions
stable < 3.1.3; beta/tests-passed < 3.2.0.beta3
Patched versions
stable >= 3.1.3; beta/tests-passed >= 3.2.0.beta3
Description
Impact
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.
Patches
The issue is patched in the latest stable, beta and tests-passed version of Discourse.
Workarounds
Disable or remove the relevant theme components.