Discourse
cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*
- <= 3.5.0.beta7-dev
A cross-site scripting (XSS) vulnerability has been identified in the welcome banner user name string for logged-in users on Discourse. This issue can affect the user themselves or an admin impersonating them. The vulnerability arises because the welcome banner can be manipulated to include HTML, which is then rendered, creating an XSS risk. Admins can temporarily remove the 'preferred_display_name' placeholder from the welcome banner text to mitigate this issue, or avoid impersonating users.
Exploitation of this vulnerability allows for cross-site scripting, where an attacker can inject malicious scripts that are executed in the context of the user's browser.
To reproduce this vulnerability, an admin can change the welcome banner text to include a logged-in user's name with embedded HTML, such as an input tag. This will render the HTML in the banner, creating an XSS vulnerability for the user or an admin impersonating them.
Users can update to Discourse version 3.5.0.beta8 or later, where this vulnerability has been patched.
Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.