If you give someone the link to a game with a custom solution, he can literally just send a POST request to change the solution to any other word and then guess that word on his first turn and win.
This is because you first create a new game, then send a second request to change the solution, to generate a game with a custom solution. This should be changed so that the custom solution is sent within the request to make a custom game, and solutions cannot be changed and can only be set when they are created.
If you give someone the link to a game with a custom solution, he can literally just send a POST request to change the solution to any other word and then guess that word on his first turn and win.
This is because you first create a new game, then send a second request to change the solution, to generate a game with a custom solution. This should be changed so that the custom solution is sent within the request to make a custom game, and solutions cannot be changed and can only be set when they are created.