Here, To et al. show that virus infection activates endosomal NOX2 oxidase and restricts TLR7 signaling, and that an endosomal NOX2 inhibitor decreases viral pathogenicity. The gene discussed is CYBB; the disease is viral infectious disease.