# CVE-2026-27154: Discourse has XSS when editing a malicious post

- Severity: Low 1.3 (CVSS:4.0, scored by GitHub_M) `CVSS: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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 21% of CVEs (2026-11-30)
- Published: 2026-02-26T21:20:25.181Z
- Modified: 2026-09-10T16:01:30.963Z
- Also known as: BIT-DISCOURSE-2026-27154, GHSA-xv43-5gcp-wgw8
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- 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.0
- discourse (Bitnami): before 2025.12.2; from 2026.1.0 before 2026.1.1

## Every score

- GitHub_M: CVSS:4.0 1.3 Low `CVSS: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`
- NVD: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/discourse/discourse/security/advisories/GHSA-xv43-5gcp-wgw8> (advisory, vendor-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-27154> (web)

## Sources

- CVE List: [CVE-2026-27154](https://www.cve.org/CVERecord?id=CVE-2026-27154), CVE Terms of Use, modified 2026-03-02
- NVD: [CVE-2026-27154](https://nvd.nist.gov/vuln/detail/CVE-2026-27154), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-DISCOURSE-2026-27154](https://osv.dev/vulnerability/BIT-DISCOURSE-2026-27154), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2026-27154 · Whole record: https://cve.day/CVE-2026-27154.json · Rebuilt by cve.day 2026-11-25T22:59:14.976Z
