Skip to content

Bypassing height value allowed in some theme components

Moderate
jomaxro published GHSA-c876-638r-vfcg Nov 9, 2023

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.

Severity

Moderate
4.3
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L

CVE ID

CVE-2023-46130

Weaknesses

No CWEs

Credits