The electronic configuration of Ce is [Xe]4f15d16s2
Lanthanides are very less electronegative. Their electronegative value is nearly equal to s-block elements. So they can lose electrons to form a cation. When Cerium loses 4 e−,and it will acquire fully field electronic configuration of Xenon (2,8,18,18,8). As fully filed or half filed electronic configuration possesses extra stability.