What’s Vulnerable › Vulnerabilities

CVE-2023-46130: Bypassing height value allowed in some theme components

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 products

How to fix

Upgrade to a fixed version: discourse 3.1.3, 3.2.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2023-46130 or the next vulnerability affects your stack