GitHub Advisory Database
GHSA-fcwg-45jh-5qhf
Mattermost Server vulnerable to CSRF if CORS is enabled
Details
An issue was discovered in Mattermost Server before 4.0.0, 3.10.2, and 3.9.2. CSRF can occur if CORS is enabled.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Go | github.com/mattermost/mattermost-server | All versions before 3.9.2 (fixed in 3.9.2) |
| Go | github.com/mattermost/mattermost-server | From 3.10.0-rc1 before 3.10.2 (fixed in 3.10.2) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-18903
- https://github.com/mattermost/mattermost/commit/312269ad0bd166174f07f9df7391fce714601600
- https://github.com/mattermost/mattermost/commit/4519b03d95e8bfe1b2f74094673ae1a2f39f6b47
- https://github.com/mattermost/mattermost/commit/a18479df0940be8503c9b88993490741793eba9e
- https://github.com/mattermost/mattermost
- https://mattermost.com/security-updates