Input validation error in Laravel Framework - CVE-2021-21263
Published: January 15, 2021 / Updated: June 1, 2026
Laravel Framework
Detailed vulnerability description
The vulnerability allows a remote attacker to cause queries to return unexpected results.
The vulnerability exists due to improper input validation in the query builder when processing crafted request input that supplies an array where a scalar value is expected. A remote attacker can send specially crafted input to cause queries to return unexpected results.
Exploitation requires application code to pass unvalidated or uncast input to the query builder.