{"id":"CVE-2017-9303","aliases":["EUVD-2022-5147","GHSA-rc8x-jrrc-frfv"],"status":"published","title":"Laravel does not properly constrain the host portion of a password-reset URL","description":"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.","severity":{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.00959,"percentile":0.61722,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2017-05-29T22:00:00Z","modified":"2026-10-24T10:30:29Z","fixes":[{"ecosystem":"Packagist","package":"laravel/laravel","fixed_in":["5.4.22"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"illuminate/auth","fixed_in":["5.4.22"],"sources":["ghsa","osv"]},{"ecosystem":"Packagist","package":"laravel/framework","fixed_in":["5.4.22"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"Packagist","package":"laravel/laravel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.22"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"illuminate/auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"last_affected":"5.3.31"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"illuminate/auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.22"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"laravel/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"last_affected":"5.3.31"}]}]},{"source":"ghsa","ecosystem":"Packagist","package":"laravel/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.22"}]}]},{"source":"osv","ecosystem":"Packagist","package":"laravel/laravel","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.22"}]}],"versions":["v5.4.0","v5.4.15","v5.4.16","v5.4.19","v5.4.21","v5.4.3","v5.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"illuminate/auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"last_affected":"5.3.31"}]}],"versions":["v5.3.0","v5.3.16","v5.3.23","v5.3.4"]},{"source":"osv","ecosystem":"Packagist","package":"illuminate/auth","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.22"}]}],"versions":["v5.4.0","v5.4.13","v5.4.17","v5.4.19","v5.4.9"]},{"source":"osv","ecosystem":"Packagist","package":"laravel/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.3.0"},{"last_affected":"5.3.31"}]}],"versions":["v5.3.0","v5.3.1","v5.3.10","v5.3.11","v5.3.12","v5.3.13","v5.3.14","v5.3.15","v5.3.16","v5.3.17","v5.3.18","v5.3.19","v5.3.2","v5.3.20","v5.3.21","v5.3.22","v5.3.23","v5.3.24","v5.3.25","v5.3.26","v5.3.27","v5.3.28","v5.3.29","v5.3.3","v5.3.30","v5.3.31","v5.3.4","v5.3.5","v5.3.6","v5.3.7","v5.3.8","v5.3.9"]},{"source":"osv","ecosystem":"Packagist","package":"laravel/framework","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"5.4.0"},{"fixed":"5.4.22"}]}],"versions":["v5.4.0","v5.4.1","v5.4.10","v5.4.11","v5.4.12","v5.4.13","v5.4.14","v5.4.15","v5.4.16","v5.4.17","v5.4.18","v5.4.19","v5.4.2","v5.4.20","v5.4.21","v5.4.3","v5.4.4","v5.4.5","v5.4.6","v5.4.7","v5.4.8","v5.4.9"]}],"products":[{"vendor":"laravel","product":"laravel"}],"references":[{"url":"https://laravel-news.com/laravel-5-4-22-is-now-released-and-includes-a-security-fix","tags":["x_refsource_CONFIRM","x_transferred","Vendor Advisory","advisory","web"]},{"url":"http://www.securityfocus.com/bid/98776","tags":["vdb-entry","x_refsource_BID","x_transferred","Third Party Advisory","VDB Entry","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2017-9303","tags":["advisory"]},{"url":"https://github.com/laravel/framework/commit/cef10551820530632a86fa6f1306fee95c5cac43","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-9303.yaml","tags":["web"]},{"url":"https://github.com/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-9303.yaml","tags":["web"]},{"url":"https://laravel.com/docs/5.4/releases#laravel-5.4.22","tags":["web"]},{"url":"https://web.archive.org/web/20171021180417/http://www.securityfocus.com/bid/98776","tags":["web"]},{"url":"https://github.com/advisories/GHSA-rc8x-jrrc-frfv"}],"sources":{"cve":[{"id":"CVE-2017-9303","description":"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.","status":"published","published":"2017-05-29T22:00:00Z","modified":"2024-08-05T17:02:44.28Z","updated_at":"2026-11-02T14:33:13.606903Z"}],"euvd":[{"id":"EUVD-2022-5147","description":"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.","status":"published","published":"2017-05-29T22:00:00Z","modified":"2024-08-05T17:02:44Z","updated_at":"2026-11-03T02:23:28.210565Z"}],"ghsa":[{"id":"GHSA-rc8x-jrrc-frfv","title":"Laravel does not properly constrain the host portion of a password-reset URL","description":"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.","status":"published","published":"2022-05-17T02:42:21Z","modified":"2024-04-25T22:55:14Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:47.338362Z"}],"nvd":[{"id":"CVE-2017-9303","description":"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.","status":"published","published":"2017-05-29T22:29:00.173Z","modified":"2026-06-17T01:27:51.457Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":5.8,"vector":"AV:N/AC:M/Au:N/C:P/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:03:49.449157Z"}],"osv":[{"id":"CVE-2017-9303","description":"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.","status":"published","published":"2017-05-29T22:29:00.173Z","modified":"2026-10-24T10:30:29.463482558Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:06.868403Z"},{"id":"GHSA-rc8x-jrrc-frfv","title":"Laravel does not properly constrain the host portion of a password-reset URL","description":"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.","status":"published","published":"2022-05-17T02:42:21Z","modified":"2024-04-25T23:11:46.086015Z","cvss":[{"version":"3.0","score":6.1,"vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:55.877614Z"}]}}
