XSS in Discourse
CVE-2025-54411
Discourse is an open-source discussion platform. Welcome banner user name string for logged in users can be vulnerable to XSS attacks, which affect the user themselves or an admin impersonating them. Admins can temporarily alter the welcome_banner.header.logged_in_members site text to remove the preferred_display_name placeholder, or not impersonate any users for the time being. This vulnerability is fixed in 3.5.0.beta8.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.002 (10.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Discourse — versions < 3.5.0.beta8, 3.5.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory, Mitigation)
- security-advisories@github.com (Patch, x_refsource_MISC)
Frequently asked questions
- What is CVE-2025-54411?
- CVE-2025-54411 is a medium-severity vulnerability in Discourse, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-08-19.
- How severe is CVE-2025-54411?
- Medium severity. CVSS v3 base score is 5.4 out of 10.