In CVID, the villous atrophy is thought to be T-cell mediated, while in celiac disease, there are plasma cell infiltrates with increased amounts of IgM and IgA. Here, CD40LG is linked to celiac disease.