Description
Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, a malicious second factor name on an attacker-controlled account was not escaped in the delete confirmation dialog, allowing stored cross-site scripting when an administrator impersonated that account. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.
Affected products
discourse: discourse
References9
- github.com/discourse/discourse/security/advisories/GHSA-wg5x-7f… MitigationVendor Advisory
- github.com/discourse/discourse/commit/40de62cddadc65c328a1028ab… Patch
- github.com/discourse/discourse/commit/529e17d4d570a48972e7cf647… Patch
- github.com/discourse/discourse/commit/d92973e51a46cf6dd20c71e60… Patch
- github.com/discourse/discourse/commit/daea5214d833eacbdd3b1a78d… Patch
- github.com/discourse/discourse/releases/tag/v2026.1.5 Release Notes
- github.com/discourse/discourse/releases/tag/v2026.4.2 Release Notes
- github.com/discourse/discourse/releases/tag/v2026.5.1 Release Notes
- github.com/discourse/discourse/releases/tag/v2026.6.0 Release Notes
Metrics
- CVSS 3.1
-
9.0
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H - EPSS — exploit probability
- 1% percentile: 55 · as of 15 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.