HBV reactivation occurs in a subset of HBsAg-positive cancer patients undergoing anti-PD-1 or anti-PD-L1 immunotherapy. Here, CD274 is linked to cancer.