PT-2024-26398 · Discourse · Discourse
0Xmokusou
·
Published
2024-07-03
·
Updated
2024-09-18
·
CVE-2024-35234
CVSS v3.1
4.2
Medium
| Vector | AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:L |
Name of the Vulnerable Software and Affected Versions
Discourse versions prior to 3.2.3 on the stable branch
Discourse versions prior to 3.3.0.beta3 on the tests-passed branch
Description
The issue allows an attacker to execute arbitrary JavaScript on users' browsers by posting a specific URL containing maliciously crafted meta tags. This only affects sites with Content Security Policy (CSP) disabled.
Recommendations
For versions prior to 3.2.3 on the stable branch, update to version 3.2.3 or later.
For versions prior to 3.3.0.beta3 on the tests-passed branch, update to version 3.3.0.beta3 or later.
As a temporary workaround, ensure Content Security Policy (CSP) is enabled on the forum.
Exploit
Fix
XSS
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Discourse