Note that while TNF inhibitors like adalimumab (Humira) have a black box cancer warning in the US, this was based on assessing a small number of studies early on. We now have more than 20 years of studies and patient registry data, and later studies, including meta-analyses, have concluded that there is no additional risk of cancer with these TNF inhibitors.
E.g. see: