CVE-2026-27154
JSON

1.3low

Discourse has XSS when editing a malicious post

Severity
1.3low CVSS:4.0 by GitHub_M
Exploit likelihood
0.35% (higher than 21% of CVEs)
Published
Last changed
Assigned by
GitHub_M
Also known as
BIT-DISCOURSE-2026-27154GHSA-xv43-5gcp-wgw8

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.

Affected

Product or packageVersionsReported by
discourse discourse< 2025.12.2, >= 2026.1.0-latest, < 2026.1.1, >= 2026.2.0-latest, < 2026.2.0, before 2025.12.2, from 2026.1.0 before 2026.1.1, 2026.2.0CVE List, NVD
discourse (Bitnami)before 2025.12.2, from 2026.1.0 before 2026.1.1Bitnami Vulnerability Database

All scores

GitHub_M1.3low CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:U
NVD6.1medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Bitnami Vulnerability Databasemedium rating

Classification

CWE-79

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Discourse es una plataforma de discusión de código abierto. Antes de las versiones 2025.12.2, 2026.1.1 y 2026.2.0, el nombre completo de un usuario puede ser evaluado como HTML sin procesar cuando las siguientes configuraciones están establecidas: 'display_name_on_posts' =&gt; true; y 'prioritize_username_in_ux' =&gt; false. Editar una publicación de un usuario malicioso activaría un XSS. Las versiones 2025.12.2, 2026.1.1 y 2026.2.0 parchean el problema. No hay soluciones alternativas conocidas disponibles.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-27154 changed 2026-03-02CVE Terms of Use
NVDCVE-2026-27154 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-DISCOURSE-2026-27154 changed 2026-09-10Apache-2.0