Skip to content

CVE-2024-35234 Discourse vulnerable to stored-dom XSS via Facebook Oneboxes

MediumCVSS 6.1 EPSS 0.61%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

Description

Discourse is an open-source discussion platform. Prior to version 3.2.3 on the stable branch and version 3.3.0.beta3 on the tests-passed branch, an attacker can execute arbitrary JavaScript on users’ browsers by posting a specific URL containing maliciously crafted meta tags. This issue only affects sites with Content Security Polic (CSP) disabled. The problem has been patched in version 3.2.3 on the stable branch and version 3.3.0.beta3 on the tests-passed branch. As a workaround, ensure CSP is enabled on the forum.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
discourse < 3.2.3; < 3.3.0; = 3.3.0-beta1; = 3.3.0-beta2 +2 more 3.2.3, 3.3.0 Fixed

Affected products

ProductAffected versionsFixed in
discourse = stable < 3.2.3 No fix listed
discourse = tests-passed < 3.3.0.beta3 No fix listed
discourse < 3.2.3 3.2.3
discourse < 3.3.0 3.3.0
discourse = 3.3.0-beta1 No fix listed
discourse = 3.3.0-beta2 No fix listed

References