CVE-2026-27154 Discourse has XSS when editing a malicious post
LowCVSS 1.3
EPSS 0.35%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
Description
Discourse is an open source discussion platform. Prior to versions 2025.12.2, 2026.1.1, and 2026.2.0, a user full name can be evaluated as raw HTML when the following settings are set: display_name_on_posts => true; and prioritize_username_in_ux => false. Editing a post of a malicious user would trigger an XSS. Versions 2025.12.2, 2026.1.1, and 2026.2.0 patch the issue. No known workarounds are available.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| discourse | < 2025.12.2; = 2026.2.0; = < 2025.12.2; = >= 2026.1.0-latest, < 2026.1.1 +2 more | 2025.12.2, 2026.1.1 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse | = < 2025.12.2 | No fix listed |
| discourse | = >= 2026.1.0-latest, < 2026.1.1 | No fix listed |
| discourse | = >= 2026.2.0-latest, < 2026.2.0 | No fix listed |
| discourse | < 2025.12.2 | 2025.12.2 |
| discourse | >= 2026.1.0, < 2026.1.1 | 2026.1.1 |
| discourse | = 2026.2.0 | No fix listed |