Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow
Summary
Discourse vulnerable to XSS via user-provided query parameter in oauth failure flow
Original description
The description as published by the source.
Discourse is an open-source discussion platform. Versions prior to 3.5.0 are vulnerable to cross-site scripting when the content security policy isn't enabled when using social logins. Version 3.5.0 patches the issue. As a workaround, have the content security policy enabled.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Affected packages
References
- advisory github.com
- web nvd.nist.gov