Description
Laravel is a web application framework. Prior to 13.43.0 and 12.72.0, When an attribute is nested or uses a wildcard (for example profile.age or items.*.quantity) and is validated with the sometimes rule, submitting the literal string __missing__ as its value causes the attribute to be treated as absent. All of its rules are skipped, the request passes validation, and the unvalidated value is returned by validated(). Applications may then store or process input that did not satisfy the declared rules. Top-level attributes and nested attributes without sometimes are not affected. This issue is fixed in versions 13.43.0 and 12.72.0.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
laravel framework
>= 13.0.0, < 13.43.0affected< 12.72.0affected
References
- https://github.com/laravel/framework/security/advisories/GHSA-f3ph-5p6j-34xr ↗
- https://github.com/laravel/framework/pull/62402 ↗
- https://github.com/laravel/framework/commit/b79483b42b701783decd0b188dafb63697a3b18b ↗
- https://github.com/laravel/framework/commit/ba9e21eb9451bab33741be99239baf8ec4ff94ca ↗
- https://github.com/laravel/framework/releases/tag/v12.72.0 ↗
- https://github.com/laravel/framework/releases/tag/v13.43.0 ↗