STAT3 mutations disrupt TH17 generation in vitro and in vivo and highlight the importance of STAT3 in TH17 differentiation and TH17 effector role in infection of HIES patients and other immune-mediated diseases. Here, STAT3 is linked to infection.