Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| discourse | discourse | < 3.5.0.beta6 | — |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Discourse OAuth Social Login - Cross-site Scripting http/cves/2025/CVE-2025-48954.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.