Skip to content

Conversation

antoinelame
Copy link
Contributor

It fixes #33127.

For any POST, PUT, PATCH or DELETE request, anyone can change the X-XSRF-TOKEN value in the headers and cause a server error (500 response).

With this fix, if a user changes the value, the server will return a 419 – CSRF token mismatch response instead.

@taylorotwell taylorotwell merged commit 97958fb into laravel:6.x Dec 20, 2020
This was referenced Mar 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants