PoC Monitor
← All CVEs
CVE-2025-48954published 25 Jun 2025 14:02 UTCData: JSON · API

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

Timeline

Days relative to CVE publication
t=0+7+14+21+28+35+42CVE published25 Jun 2025 · t = 0First public PoC5 Aug 2025 · t+41d

First 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.
SourceTitlePublishedFound by us
nuclei templatenuclei template: Discourse OAuth Social Login - Cross-site Scripting5 Aug 202514 Nov 2026