CVE Vulnerabilities

CVE-2024-39320

Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Published: Jul 30, 2024 | Modified: Nov 21, 2024
CVSS 3.x
6.1
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
Ubuntu

Discourse is an open source discussion platform. Prior to 3.2.5 and 3.3.0.beta5, the vulnerability allows an attacker to inject iframes from any domain, bypassing the intended restrictions enforced by the allowed_iframes setting. This vulnerability is fixed in 3.2.5 and 3.3.0.beta5.

Weakness

The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Affected Software

Name Vendor Start Version End Version
Discourse Discourse * 3.2.5 (excluding)
Discourse Discourse 3.3.0-beta1 (including) 3.3.0-beta1 (including)
Discourse Discourse 3.3.0-beta2 (including) 3.3.0-beta2 (including)
Discourse Discourse 3.3.0-beta3 (including) 3.3.0-beta3 (including)
Discourse Discourse 3.3.0-beta4 (including) 3.3.0-beta4 (including)

Potential Mitigations

References