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. This evidence concerns the gene CD40LG and common variable immunodeficiency.