Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/mattermost/mattermost-server
  4. ›
  5. CVE-2017-18897

CVE-2017-18897: Mattermost Server mishandles redirect denial action

May 24, 2022 (updated January 12, 2026)

An issue was discovered in Mattermost Server before 4.2.0, 4.1.1, and 4.0.5, when used as an OAuth 2.0 service provider. It mishandles a deny action for a redirection.

References

  • github.com/advisories/GHSA-f7c3-7vp3-44p6
  • github.com/mattermost/mattermost
  • github.com/mattermost/mattermost/commit/3c34e2b2dcb0fde96a10e68d877aa7d0ab511669
  • github.com/mattermost/mattermost/commit/722fb1947a2e7395ccf16adce9206736d803a9f3
  • github.com/mattermost/mattermost/commit/d38328976e2c8bb0fab91e656042a0d8ac37bc76
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18897

Code Behaviors & Features

Detect and mitigate CVE-2017-18897 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.0.5, all versions starting from 4.1.0 before 4.1.1, all versions starting from 4.2.0-rc1 before 4.2.0

Fixed versions

  • 4.0.5
  • 4.1.1
  • 4.2.0

Solution

Upgrade to versions 4.0.5, 4.1.1, 4.2.0 or above.

Impact 6.1 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

go/github.com/mattermost/mattermost-server/CVE-2017-18897.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:09 +0000.