XSS Vulnerability in Discourse Open-Source Discussion Platform
CVE-2025-54411
2.4LOW
What is CVE-2025-54411?
The Discourse open-source discussion platform has a vulnerability that allows for Cross-Site Scripting (XSS) attacks through the welcome banner user name string for logged-in users. This flaw can potentially allow an attacker to execute harmful scripts affecting users' sessions or perform actions as an admin impersonating a user. Specifically, administrators can modify the welcome banner text, which lacks proper handling of the preferred_display_name placeholder. It is crucial for users to upgrade to Discourse version 3.5.0.beta8 or later to mitigate this risk.
Affected Version(s)
discourse < 3.5.0.beta8