Laravel does not properly constrain the host portion of a password-reset URL
Summary
CVE-2017-9303: Laravel does not properly constrain the host portion of a password-reset URL. Affects laravel/laravel versions >= 5.4.0, < 5.4.22. Fixed in 5.4.22. How to fix ↓
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
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.
How To Fix
Minimum fixed version
5.4.22
This is the first release that contains the fix.
composer require laravel/laravel:5.4.22
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
References
Related vulnerabilities
Recent vulnerabilities recorded for laravel/laravel.