Skip to content

Fix an open redirect weakness in getLoginRedirect()#795

Merged
dereuromark merged 1 commit into
4.xfrom
fix-openredirect
Jun 13, 2026
Merged

Fix an open redirect weakness in getLoginRedirect()#795
dereuromark merged 1 commit into
4.xfrom
fix-openredirect

Conversation

@markstory

Copy link
Copy Markdown
Member

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.

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 4.x milestone Jun 13, 2026
@dereuromark dereuromark merged commit ee24bd4 into 4.x Jun 13, 2026
6 of 8 checks passed
@dereuromark dereuromark deleted the fix-openredirect branch June 13, 2026 10:24
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