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

CVE-2024-40886: Mattermost Cross-Site Request Forgery vulnerability

August 22, 2024 (updated August 23, 2024)

Mattermost versions 9.9.x <= 9.9.1, 9.5.x <= 9.5.7, 9.10.x <= 9.10.0, 9.8.x <= 9.8.2 fail to sanitize user inputs in the frontend that are used for redirection which allows for a one-click client-side path traversal that is leading to CSRF in User Management page of the system console.

References

  • github.com/advisories/GHSA-hrf9-rm95-fpf3
  • github.com/mattermost/mattermost
  • mattermost.com/security-updates
  • nvd.nist.gov/vuln/detail/CVE-2024-40886

Code Behaviors & Features

Detect and mitigate CVE-2024-40886 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 starting from 9.5.0 before 9.5.8, all versions starting from 9.8.0 before 9.8.3, all versions starting from 9.9.0 before 9.9.2, all versions starting from 9.10.0 before 9.10.1

Fixed versions

  • 9.9.2
  • 9.5.8
  • 9.10.1
  • 9.8.3

Solution

Upgrade to versions 9.10.1, 9.5.8, 9.8.3, 9.9.2 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-352: Cross-Site Request Forgery (CSRF)

Source file

go/github.com/mattermost/mattermost/server/v8/CVE-2024-40886.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Wed, 14 May 2025 12:16:07 +0000.