Loading...
Skip to main content

CVE-2017-18888

CRITICAL

Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests

Published May 24, 2022Updated December 15, 2025Source: osv

Summary

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.

Remediation

Upgrade to the fixed version using your package manager.

Go
Update github.com/mattermost/mattermost-server to 4.2.1 or later
go get github.com/mattermost/mattermost-server@v4.2.1
Go
Update github.com/mattermost/mattermost-server to 4.3.0 or later
go get github.com/mattermost/mattermost-server@v4.3.0
Go
Update github.com/mattermost/mattermost-server to 4.1.2 or later
go get github.com/mattermost/mattermost-server@v4.1.2

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (3)

PackageEcosystemAffectedFixed In
github.com/mattermost/mattermost-server
go
All versions4.2.1
github.com/mattermost/mattermost-server
go
All versions4.3.0
github.com/mattermost/mattermost-server
go
All versions4.1.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

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

Frequently Asked Questions

What is CVE-2017-18888?
Mattermost Server is vulnerable to SQL Injection when executing multiple POST requests This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2017-18888?
CVE-2017-18888 affects github.com/mattermost/mattermost-server. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2017-18888 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-v2vm-hq26-5jv6
GO-2025-4203

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies