Discourse
Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow
Discourse is an open-source discussion platform. Versions prior to 3.5.0.beta6 are vulnerable to cross-site scripting when the content security policy isn't enabled when using social logins. Version 3.5.0.beta6 patches the issue. As a workaround, have the content security policy enabled.
First public PoC
41 daysafter publication · 5 Aug 2025 · nuclei template
Public PoCs10 on GitHub · 1 Exploit-DB, Metasploit or nuclei
CVSS8.1high · scored by CNA · CWE-79
CISA KEV
Not listednot known exploited
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
discourse discourse
- < 3.5.0.beta6
Fixed in 3.5.0.beta6
Mitigation
Upgrade discourse to 3.5.0.beta6 or later.
References
- Vendor advisory github.com/discourse/discourse/security/adviso…
Timeline
Days relative to CVE publicationFirst public PoC 41 days after publication; not in CISA KEV. First PoC: nuclei template: Discourse OAuth Social Login - Cross-site Scripting (nuclei template, 5 Aug 2025).
PoC repositories
Found on GitHub.No PoC repositories found yet.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Discourse OAuth Social Login - Cross-site Scripting | 5 Aug 2025 | 14 Nov 2026 |