Security mailing lists by PureSourceCode

CVE-2024-40886

HIGH 8.8CVSS 3.1

Mattermost Cross-Site Request Forgery vulnerability

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.

Published
22 Aug 2024
Last modified
17 Jun 2026
Assigned by
responsibledisclosure@mattermost.com
NVD status
Analyzed
Weakness
CWE-352
Also known as
GHSA-hrf9-rm95-fpf3GO-2024-3097
Sources
NVDJSONOSV GHSA-hrf9-rm95-fpf3JSONOSV GO-2024-3097JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD responsibledisclosure@mattermost.com (Secondary) CVSS 3.1 MEDIUM 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 4.6 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mattermost mattermost
cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
>= 9.5.0, < 9.5.8 9.5.8
NVD mattermost mattermost
cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
>= 9.8.0, < 9.8.3 9.8.3
NVD mattermost mattermost
cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
>= 9.9.0, < 9.9.2 9.9.2
NVD mattermost mattermost
cpe:2.3:a:mattermost:mattermost:*:*:*:*:*:*:*:*
>= 9.10.0, < 9.10.1 9.10.1
OSV Go github.com/mattermost/mattermost/server/v8 >= 9.9.0, < 9.9.2 9.9.2
OSV Go github.com/mattermost/mattermost/server/v8 >= 9.5.0, < 9.5.8 9.5.8
OSV Go github.com/mattermost/mattermost/server/v8 >= 9.10.0, < 9.10.1 9.10.1
OSV Go github.com/mattermost/mattermost/server/v8 >= 9.8.0, < 9.8.3 9.8.3
OSV Go github.com/mattermost/mattermost-server >= 9.5.0+incompatible, < 9.5.8+incompatible; >= 9.8.0+incompatible, < 9.8.3+incompatible; >= 9.9.0+incompatible, < 9.9.2+incompatible; >= 9.10.0+incompatible, < 9.10.1+incompatible 9.5.8+incompatible, 9.8.3+incompatible, 9.9.2+incompatible, 9.10.1+incompatible
OSV Go github.com/mattermost/mattermost-server/v5 all versions
OSV Go github.com/mattermost/mattermost-server/v6 all versions
OSV Go github.com/mattermost/mattermost/server/v8 all versions

References

History

  • 25 Nov 2026 20:56 UTC · NVD: first stored (published 22 Aug 2024)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 30 Aug 2024)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 22 Aug 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.