Laravel does not properly constrain the host portion of a password-reset URL
Laravel 5.4.x before 5.4.22 does not properly constrain the host portion of a password-reset URL, which makes it easier for remote attackers to conduct phishing attacks by specifying an attacker-controlled host.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Composer package | illuminate/auth | >= 5.3.0, <= 5.3.31, >= 5.4.0, < 5.4.22 | 5.4.22 |
| Composer package | laravel/framework | >= 5.3.0, <= 5.3.31, >= 5.4.0, < 5.4.22 | 5.4.22 |
| Composer package | laravel/laravel | >= 5.4.0, < 5.4.22 | 5.4.22 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2017-9303
- https://github.com/laravel/framework/commit/cef10551820530632a86fa6f1306fee95c5cac43
- https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-9303.yaml
- https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-9303.yaml
- https://laravel-news.com/laravel-5-4-22-is-now-released-and-includes-a-security-fix
- https://laravel.com/docs/5.4/releases#laravel-5.4.22
- https://web.archive.org/web/20171021180417/http://www.securityfocus.com/bid/98776
- http://www.securityfocus.com/bid/98776
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N- Weakness (CWE)
CWE-20- Platform
- Composer
- Package
illuminate/auth, laravel/framework, laravel/laravel- Disclosed
- 17.05.2022
- Updated
- 11.10.2026 10:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-rc8x-jrrc-frfv - CC BY 4.0
Vulnerability history: laravel/laravel
All published vulnerabilities of this package (Composer package), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.