CVE Catalog

CVE-2026-27154

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.18%

8th percentile - higher than 8% of all known CVEs

Summary

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 display_name_on_posts is true and prioritize_username_in_ux is 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.

Risk Assessment

An attacker can embed malicious code in their full name, which executes when another user edits their post. This could lead to session hijacking or actions performed on behalf of the victim.

Recommendation

Update Discourse to version 2025.12.2, 2026.1.1, or 2026.2.0. No known workarounds exist, so updating is the only solution.

Other vulnerabilities in Discourse

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS