Discourse: Stored-XSS in 2FA delete confirmation modal
21Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 7.3epss 0.5%
exploitation probability
0.5%top 60% of all CVEs
observed exploitation
nono source reports it
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.
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N
Affected products
discourse · discourseReferences
https://github.com/discourse/discourse/commit/40de62cddadc65c328a1028ab999f3fa94adbfedhttps://github.com/discourse/discourse/commit/529e17d4d570a48972e7cf64720e5dd1fdf23ca8https://github.com/discourse/discourse/commit/d92973e51a46cf6dd20c71e6068e6769b67eea5bhttps://github.com/discourse/discourse/commit/daea5214d833eacbdd3b1a78d99eb14e9cabd915https://github.com/discourse/discourse/releases/tag/v2026.1.5https://github.com/discourse/discourse/releases/tag/v2026.4.2https://github.com/discourse/discourse/releases/tag/v2026.5.1https://github.com/discourse/discourse/releases/tag/v2026.6.0https://github.com/discourse/discourse/security/advisories/GHSA-wg5x-7f23-m3r5