CVE-2025-48954 Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow
MediumCVSS 6.1
EPSS 1.1%
Scanner template
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| discourse | < 3.5.0; = 3.5.0-beta1; = 3.5.0-beta2; = 3.5.0-beta3 +3 more | 3.5.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| discourse | = < 3.5.0.beta6 | No fix listed |
| discourse | < 3.5.0 | 3.5.0 |
| discourse | = 3.5.0-beta1 | No fix listed |
| discourse | = 3.5.0-beta2 | No fix listed |
| discourse | = 3.5.0-beta3 | No fix listed |
| discourse | = 3.5.0-beta4 | No fix listed |
| discourse | = 3.5.0-beta5 | No fix listed |