Craftsman are listed by inline filters, but only the fuel filter, which at about 125mm in length seems longer than the original. It probably needs the filter mounting bolts loosening to fit it. You can also search by dimension for M16 x 1.5 threaded fuel filters.
The oil filter will be a Baldwin B1400 for engines up to the CM4.42, with the option of the longer Baldwin B1402 on the four cylinder. These numbers can be confirmed by searching based on engine type: Mitsubishi L2E, L3E, and S4L2SD (S4L2 alone doesn't seem to listed - anyones guess!)
There will be lots of opinions on choice of manufacturer when it comes to filters 😎.
https://inlinefilters.co.uk/search/filter-kit/?vehic_man=craftsman&modelex=CM3.27