Skip to content
OpenAdvisories
Medium · 4.2 CVE-2024-35234 EUVD-2024-35251

Discourse vulnerable to stored-dom XSS via Facebook Oneboxes

Published Jul 3, 2024 · Updated Aug 2, 2024 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
discourse discourse stable < 3.2.3, tests-passed < 3.3.0.beta3 —

References