CVE-2017-9303 json
Laravel does not properly constrain the host portion of a password-reset URL
published 2017-05-29 9 y ago modified 2026-06-17 4 mo ago also GHSA-rc8x-jrrc-frfv , EUVD-2022-5147
- cvss
- 6.1
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.0%
- EPSS 1.0% chance of exploitation in 30 days, percentile 61%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- packagist laravel/laravel 5.4.22
- packagist illuminate/auth 5.4.22
- packagist laravel/framework 5.4.22
Exploit prediction
0.96% chance of exploitation in the next 30 days, higher than 61% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | 2.0 | 5.8 | AV:N/AC:M/Au:N/C:P/I:P/A:N |
| GitHub | 3.0 | 6.1 | CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| packagist | laravel/laravel | >=5.4.0, <5.4.22 |
5.4.22 |
| packagist | illuminate/auth | >=5.3.0, <=5.3.31 >=5.4.0, <5.4.22 |
5.4.22 |
| packagist | laravel/framework | >=5.3.0, <=5.3.31 >=5.4.0, <5.4.22 |
5.4.22 |
Classification
- Weakness
-
- CWE-20 Improper Input Validation
References
-
github.com
/laravel/framework/commit/cef10551820530632a86fa6f1306fee95c5cac43
web
-
laravel-news.com
/laravel-5-4-22-is-now-released-and-includes-a-security-fix
web, vendor-advisory
-
securityfocus.com
/bid/98776
vdb-entry, web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2017-9303
advisory
-
github.com
/FriendsOfPHP/security-advisories/blob/master/illuminate/auth/CVE-2017-9303.yaml
web
-
github.com
/FriendsOfPHP/security-advisories/blob/master/laravel/framework/CVE-2017-9303.yaml
web
-
laravel.com
/docs/5.4/releases#laravel-5.4.22
web
-
web.archive.org
/web/20171021180417/http://www.securityfocus.com/bid/98776
web
Sources
- CVE List CVE-2017-9303
- GitHub Advisory GHSA-rc8x-jrrc-frfv
- NVD CVE-2017-9303
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.