Targeted antiviral immune responses to the widespread human pathogens cytomegalovirus (CMV) and Epstein-Barr virus (EBV) play a pivotal role in determining immune fitness. We show here for the first time that tumor-infiltrating B cell (TIB)- derived immunoglobulin G (IgG) from patients with pancreatic cancer or glioblastoma have unique anti-CMV/EBV immune recognition patterns compared to serum IgG. There is also great heterogeneity between patients, as well as between serum and TIB-IgG, while some viral targets elicited strongly both T-cell and IgG reactivity in tumor infiltrating T- and B-cells. These observations suggest that the anti-CMV/EBV humoral immune response in situ is highly unique and can be instrumental in developing next-generation immuno-biomarkers in addition to supplementing cellular therapy strategies for personalized cancer therapy targeting CMV or EBV in the tumor microenvironment.