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

CVE-2017-18888: Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests

May 24, 2022 (updated December 5, 2025)

An issue was discovered in Mattermost Server before 4.3.0, 4.2.1, and 4.1.2. It allows SQL injection during the fetching of multiple posts.

References

  • github.com/advisories/GHSA-v2vm-hq26-5jv6
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2017-18888

Code Behaviors & Features

Detect and mitigate CVE-2017-18888 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.1.2, all versions starting from 4.2.0-rc1 before 4.2.1, all versions starting from 4.3.0-rc1 before 4.3.0

Fixed versions

  • 4.1.2
  • 4.2.1
  • 4.3.0

Solution

Upgrade to versions 4.1.2, 4.2.1, 4.3.0 or above.

Impact 9.8 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Source file

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

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 10 Dec 2025 00:18:30 +0000.