Skip to content

Fix an open redirect weakness in getLoginRedirect()#796

Open
markstory wants to merge 2 commits into
3.xfrom
fix-openredirect-3x
Open

Fix an open redirect weakness in getLoginRedirect()#796
markstory wants to merge 2 commits into
3.xfrom
fix-openredirect-3x

Conversation

@markstory

Copy link
Copy Markdown
Member

Backport of #795 to 3.x

Because of how browsers handle the Location header, values beginning with \ can be leveraged to create redirect targets on other domains.

Thanks to Volker Dusch and the PHP Ecosystem security team for reporting this.

Backport of #795 to 3.x

Because of how browsers handle the `Location` header, values beginning
with `\` can be leveraged to create redirect targets on other domains.

Thanks to Volker Dusch and the PHP Ecosystem security team for reporting this.
@markstory markstory added this to the 3.x milestone Jun 13, 2026
The firebase/php-jwt package contains a vulnerability that can only be
resolved by going to 7.x. I didn't want to also change the requirements
of this package as part of the redirect fix.
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.

1 participant