Conclusion: This meta-analysis showed an elevated risk of malignancy in patients with peripheral SpA treated with biologics, especially for IL-17 inhibitors, and small molecule targeted drugs, a slightly increased risk of malignancy in TNF receptor-Fc fusion protein in axial SpA, and increased risk of tuberculosis in patients with axial SpA treated with anti-TNFα antibody. This evidence concerns the gene TNF and tuberculosis.