Are people that have cvid at a higher risk if cancer?

Sadly, but yes. Unfortunately patients and family members of cvid patients have an unusually high incidence of IgA deficiency, autoimmune diseases, autoantibodies, and malignancy. Our body has its own surveillance system that destroys cancer cells. With an immune deficiency these cells are much less in number and less effective.
Yes. Particularly blood cancers such as leukemia and lymphoma. Cvid subjects are also at higher risk for developing autoimmunity.