All reports
Medium

Laravel Risk of mass-assignment vulnerabilities

Affected versions

Version ranges need review.

Affected versions
>= 4.0.0, < 4.1.29
Fixed version
4.1.29
Affected versions
>=6.0.0,<6.20.26|>=7.0.0,<7.30.5|>=8.0.0,<8.40.0
Fixed version
Not reported

Description

Laravel 4.1.29 improves the column quoting for all database drivers. This protects your application from some mass assignment vulnerabilities when not using the fillable property on models. If you are using the fillable property on your models to protect against mass assignment, your application is not vulnerable. However, if you are using guarded and are passing a user controlled array into an "update" or "save" type function, you should upgrade to 4.1.29 immediately as your application may be at risk of mass assignment.

Links