testing the combination of the anti-cancer drugs xl184 (cabozantinib) and nivolumab in patients with advanced cancer and hiv

Conditions: Advanced Differentiated Thyroid Gland Carcinoma; Advanced Head and Neck Carcinoma; Advanced Hepatocellular Carcinoma; Advanced Kaposi Sarcoma; Advanced Lung Non-Small Cell Carcinoma; Advanced Lung Small Cell Carcinoma; Advanced Malignant Solid Neoplasm; Advanced Melanoma; Advanced Ovarian Carcinoma; Advanced Prostate Carcinoma; Advanced Renal Cell Carcinoma; Advanced Thyroid Gland Medullary Carcinoma; Advanced Triple-Negative Breast Carcinoma; Advanced Urothelial Carcinoma; Anatomic Stage III Breast Cancer AJCC v8; Anatomic Stage IV Breast Cancer AJCC v8; Castration-Resistant Prostate Carcinoma; Clinical Stage III Cutaneous Melanoma AJCC v8; Clinical Stage IV Cutaneous Melanoma AJCC v8; HIV Infection; Metastatic Differentiated Thyroid Gland Carcinoma; Metastatic Head and Neck Carcinoma; Metastatic Hepatocellular Carcinoma; Metastatic Kaposi Sarcoma; Metastatic Lung Non-Small Cell Carcinoma; Metastatic Lung Small Cell Carcinoma; Metastatic Malignant Solid Neoplasm; Metastatic Melanoma; Metastatic Ovarian Carcinoma; Metastatic Prostate Carcinoma; Metastatic Renal Cell Carcinoma; Metastatic Thyroid Gland Medullary Carcinoma; Metastatic Triple-Negative Breast Carcinoma; Metastatic Urothelial Carcinoma; Recurrent Differentiated Thyroid Gland Carcinoma; Recurrent Head and Neck Carcinoma; Recurrent Hepatocellular Carcinoma; Recurrent Kaposi Sarcoma; Recurrent Lung Non-Small Cell Carcinoma; Recurrent Lung Small Cell Carcinoma; Recurrent Malignant Solid Neoplasm; Recurrent Melanoma; Recurrent Ovarian Carcinoma; Recurrent Prostate Carcinoma; Recurrent Renal Cell Carcinoma; Recurrent Thyroid Gland Medullary Carcinoma; Recurrent Triple-Negative Breast Carcinoma; Recurrent Urothelial Carcinoma; Refractory Differentiated Thyroid Gland Carcinoma; Stage III Differentiated Thyroid Gland Carcinoma AJCC v8; Stage III Hepatocellular Carcinoma AJCC v8; Stage III Lung Cancer AJCC v8; Stage III Ovarian Cancer AJCC v8; Stage III Prostate Cancer AJCC v8; Stage III Renal Cell Cancer AJCC v8; Stage III Thyroid Gland Medullary Carcinoma AJCC v8; Stage IV Differentiated Thyroid Gland Carcinoma AJCC v8; Stage IV Hepatocellular Carcinoma AJCC v8; Stage IV Lung Cancer AJCC v8; Stage IV Ovarian Cancer AJCC v8; Stage IV Prostate Cancer AJCC v8; Stage IV Renal Cell Cancer AJCC v8; Stage IV Thyroid Gland Medullary Carcinoma AJCC v8

Summary: this phase i trial investigates the side effects of cabozantinib and nivolumab in treating patients with cancer that may have spread from where it first started to nearby tissue, lymph nodes, or distant parts of the body (advanced) and who are undergoing treatment for human immunodeficiency virus (hiv). cabozantinib may stop the growth of tumor cells by blocking some of the enzymes needed for cell growth. immunotherapy with monoclonal antibodies, such as nivolumab, may help the body's immune system attack the cancer, and may interfere with the ability of tumor cells to grow and spread. giving cabozantinib and nivolumab may shrink or stabilize cancer in patients undergoing treatment for hiv.

primary objectives: i. to determine the safety of combined nivolumab and cabozantinib s-malate (xl184 \[cabozantinib\]) in human immunodeficiency virus (hiv) patients with advanced solid tumors. ii. to determine the feasibility to deliver the combined nivolumab and xl184 (cabozantinib) for a minimum of 4 cycles in at least 75% of the subjects in the expanded cohort with kaposi sarcoma (ks) or to achieve a confirmed objective response. secondary objectives: i. to observe and record anti-tumor activity in subjects with kaposi sarcoma (ks). ii. to assess the effect of treatment on participants' immune status (cd4 and cd8 cell counts) and hiv viral loads. iii. to preliminarily evaluate the objective response rate (orr) to the combination treatment in subjects with ks. exploratory objectives: i. to assess duration of response (dor), progression-free survival (pfs), and overall survival (os) in subjects with ks. ii. to assess the pd-l1 immunohistochemistry (ihc) status in tumors and tumor microenvironment and its association with clinical outcome. iii. to assess the expression characteristics and cellular distribution of immune checkpoints (pd-l1, b7x, hhla2, b7h3), infiltrating immune cells (cd4 t cells, cd8 t cells, regulatory t-cells \[treg\], myeloid-derived suppressor cell \[mdsc\]), and other tumor microenvironment biomarkers (vegf, vegfr, met, and axl) in the tissue by multiplex quantitative immunofluorescence (mqif). iv. to correlate markers of immune activation and expansion of immune cell subsets and cytokines with clinical outcomes. v. to assess the treatment effects on latent hiv reservoir. vi. to investigate the dynamic changes of immune checkpoints, angiogenesis markers, and infiltrating immune cells among subjects with available pre- and post-treatment biopsy samples (including subjects with kaposi sarcoma \[ks\]). outline: patients receive cabozantinib s-malate orally (po) once daily (qd) on days 1-28 of each cycle and nivolumab intravenously (iv) over 30 minutes on day 1 of each cycle. cycles repeat every 28 days for up to 1 year or 1 year after a partial response is achieved, or 6 months after a complete response is achieved in the absence of disease progression or unacceptable toxicity. patients also undergo a computed tomography (ct) scan and/or magnetic resonance imaging (mri) as well as blood sample collection throughout the trial. after completion of study treatment, patients are followed up for 16 weeks.

Eligibility criteria:
inclusion criteria: * age \>= 18 years. children are excluded from this study, but will be eligible for future pediatric trials * for the six-patient safety cohort, subjects must have histologically or cytologically confirmed advanced solid tumors that are metastatic or recurrent, and require palliative systemic treatment, for which there are either food and drug administration (fda) approved indications for xl184 (cabozantinib) or nivolumab or have at least phase 2 data clearly indicating activity (such as renal cell carcinoma \[rcc\], hepatocellular carcinoma \[hcc\], medullary thyroid carcinoma \[mtc\], melanoma, non-small cell lung cancer \[nsclc\], head and neck cancer, urothelial carcinoma, small cell lung cancer \[sclc\], radioiodine-refractory differentiated thyroid cancer, ovarian cancer, castration-resistant prostate carcinoma \[crpc\], and triple-negative breast cancer \[tnbc\]). subjects must have progressed, or are intolerant, or decline systemic therapy associated with clinically significant survival benefit if checkpoint blockade is not an approved or accepted treatment. the expansion cohort is limited to subjects with ks. histologic, cytologic, and pathologic confirmation of ks is required * any number of prior cancer therapies will be permitted, including treatment naive subjects. (note: for ks, treatment naive asymptomatic subjects will be permitted. but treatment naive ks subjects with visceral symptomatic disease or complicated ks hhv 8 disease including castleman's disease will be excluded and should receive front-line standard of care) * eastern cooperative oncology group (ecog) performance status of 0-1 (karnofsky \>= 80%) * subjects with tumors other than ks must have evaluable disease * absolute neutrophil count \>= 1,000/mcl * platelets \>= 75,000/mcl * total bilirubin =\< 1.5 x institutional upper limit of normal (uln) (if, however, the participant has gilbert's disease or unconjugated hyperbilirubinemia that is considered to be secondary to antiretroviral therapy, then the total bilirubin must be =\< 3 x uln) * aspartate aminotransferase (ast) (serum glutamic-oxaloacetic transaminase \[sgot\])/alanine aminotransferase (alt) (serum glutamate pyruvate transaminase \[sgpt\]) =\< 3 x institutional uln * creatinine =\ = 50 ml/min (if using the cockcroft-gault formula) * hemoglobin \>= 9 g/dl * cd4 count \>= 50/mcl * subjects must have known hiv infection as below: serologic documentation of hiv infection at any time prior to study entry, as evidenced by positive enzyme-linked immunosorbent assay (elisa), positive western blot, or any other federally approved licensed hiv test. alternatively, this documentation may include a record that another physician has documented that the participant has hiv infection based on prior elisa and western blot, or other approved diagnostic tests. subjects must receive appropriate care and treatment for hiv infection. an eligible patient should be on anti-retroviral therapy (art) that is not strongly cyp3a4 inhibiting or otherwise prohibited by the protocol (e.g. drug-drug interactions) or the patient must be converted to one of these regimens before starting investigational therapy in order to avoid dose modulation of cabozantinib * life expectancy of \>= 12 weeks * for subjects with evidence of chronic hepatitis b virus (hbv) infection, the hbv viral load must be undetectable on suppressive therapy, if indicated * subjects with a history of hepatitis c virus (hcv) infection must have been treated and cured including self-cured cases. for subjects with hcv infection who are currently on treatment, they are eligible if they have an undetectable hcv viral load * subjects with a prior or concurrent malignancy whose natural history or treatment does not have the potential to interfere with the safety or efficacy assessment of the investigational regimen are eligible for this trial * the effects of nivolumab and xl184 (cabozantinib) on the developing human fetus are unknown. for this reason, women of child-bearing potential (wocbp) and men must agree to use adequate contraception (hormonal or barrier method of birth control; abstinence) prior to study entry and for the duration of study participation. wocbp should use an adequate method to avoid pregnancy for 5 months after the last dose of investigational drug. wocbp must have a negative serum or urine pregnancy test within 72 hours prior to the start of receiving the first dose of the study medication. men who are sexually active with wocbp must use any contraceptive method with a failure rate of less than 1% per year. men receiving nivolumab and who are sexually active with wocbp will be instructed to adhere to contraception for a period of 7 months after the last dose of investigational product. women who are not of childbearing potential (i.e., who are postmenopausal or surgically sterile as well as azoospermic men) do not require contraception * women of childbearing potential (wocbp) is defined as any female who has experienced menarche and who has not undergone surgical sterilization (hysterectomy or bilateral oophorectomy) or who is not postmenopausal. menopause is defined clinically as 12 months of amenorrhea in a woman over 45 in the absence of other biological or physiological causes. in addition, women under the age of 55 must have a documented serum follicle stimulating hormone (fsh) level less than 40 miu/ml * ability to understand and the willingness to sign a written informed consent document. subjects with impaired decision-making capacity (idmc) who have a legally-authorized representative (lar) and/or family member available will also be eligible exclusion criteria: * for the safety run-in cohort, subjects who have received prior xl184 (cabozantinib), pd-1/pd-l1 inhibitor, or vegfr inhibitor are ineligible. prior treatment with these agents is allowed for the expansion ks cohort * subjects on potent cyp3a4-inhibiting agents are ineligible, such as: * antiretroviral: ritonavir, cobicistat, indinavir, atazanavir, delavirdine * antibiotics: clarithromycin, erythromycin, telithromycin, troleandomycin * antifungals: itraconazole, ketoconazole, voriconazole, fluconazole, posaconazole * antidepressants: nefazodone * antidiuretic: conivaptan * gastrointestinal (gi): cimetidine, aprepitant * hepatitis c: boceprevir, telaprevir * miscellaneous: seville oranges, grapefruit, or grapefruit juice and/or pummelos, star fruit, exotic citrus fruits, or grapefruit hybrids of note, to meet the eligibility requirement, subjects are allowed to convert their antiretroviral medications to one of the regimens not including potent cyp3a4-inhibiting agents, when the subjects have progressed, are intolerant, or decline the standard systemic therapy for their advanced tumors. subjects must receive appropriate care and treatment for hiv infection, including antiretroviral medications, when clinically indicated (including no art) and should be under the care of a physician experienced in hiv management. subjects will be eligible provided there is no intention to initiate therapy or the regimen has been stable for at least 4 weeks with no intention to change the regimen within 8 weeks following study entry. to enroll in the study, the participants should be on the protocol accepted art as long as they are receiving xl184 (cabozantinib) * subjects who have had cytotoxic chemotherapy (including investigational cytotoxic chemotherapy) or biologic agents (e.g., cytokines or antibodies) within 3 weeks, or nitrosoureas/mitomycin c within 6 weeks before the first dose of study treatment, or those who have not recovered from adverse events (aes) due to agents administered more than 4 weeks earlier * the subject has received radiation therapy: * to the thoracic cavity, abdomen, or pelvis within 4 weeks before the first dose of study treatment, or has ongoing complications, or is without complete recovery and healing from prior radiation therapy * to bone or brain metastases within 14 days before the first dose of study treatment * to any other site(s) within 21 days before the first dose of study treatment * subjects who are receiving any other investigational agents * subjects must be either off corticosteroids, or on a stable or decreasing dose of =\< 10 mg daily prednisone (or equivalent) for at least 2 weeks prior to enrollment. inhaled or topical steroids are permitted in the absence of active autoimmune disease * history of allergic reactions attributed to compounds of similar chemical or biologic composition to nivolumab or xl184 (cabozantinib) * the subject has prothrombin time (pt)/ international normalized ratio (inr) or partial thromboplastin time (ptt) test \>= 1.3 x the laboratory uln within 7 days before the first dose of study treatment * the subject has a primary brain tumor, active brain metastases or epidural disease. subjects with brain metastases previously treated with whole brain radiation or radiosurgery or participants with epidural disease previously treated with radiation or surgery who are asymptomatic and do not require steroid treatment for at least 2 weeks before starting study treatment are eligible. subjects with treated brain metastasis should not take enzyme-inducing anticonvulsive therapies (eiacds) within 2 weeks of registration, though non-enzyme inducing anticonvulsive drugs such as levetiracetam are allowed. neurosurgical resection of brain metastases or brain biopsy is permitted if completed at least 3 months before starting study treatment. baseline brain imaging with contrast-enhanced ct or mri scans for participants with known brain metastases is required to confirm eligibility. subjects with untreated central nervous system (cns) metastases are eligible if they are not symptomatic and the lesions are less than 1 cm in size. cns metastases should be stable for at least 4 weeks, neurologically asymptomatic and without corticosteroid treatment at time of first dose of study treatment * concomitant anticoagulation with coumarin agents (e.g., warfarin), direct thrombin inhibitors (e.g., dabigatran), direct factor xa inhibitor betrixaban, or platelet inhibitors (e.g., clopidogrel). allowed anticoagulants are the following: * prophylactic use of low-dose aspirin for cardio-protection (per local applicable guidelines) and low-dose low molecular weight heparins (lmwh) * therapeutic doses of lmwh or anticoagulation with direct factor xa inhibitors rivaroxaban, edoxaban, or apixaban in subjects without known brain metastases who are on a stable dose of the anticoagulant for at least 1 week before first dose of study treatment without clinically significant hemorrhagic complications from the anticoagulation regimen or the tumor * the subject has experienced any of the following: * clinically-significant gastrointestinal bleeding within 6 months before the first dose of study treatment * hemoptysis of \>= 0.5 teaspoon (2.5 ml) of red blood within 3 months before the first dose of study treatment * any other signs indicative of pulmonary hemorrhage within 3 months before the first dose of study treatment * the subject has radiographic evidence of cavitating pulmonary lesion(s) * the subject has tumor in contact with, invading, or encasing any major blood vessels * the subject has evidence of tumor invading the gi tract (esophagus, stomach, small or large bowel, rectum or anus), or any evidence of endotracheal or endobronchial tumor within 28 days before the first treatment * the subject has uncontrolled and significant cardiovascular disorders: * congestive heart failure (chf): new york heart association (nyha) class iii (moderate) or class iv (severe) at the time of screening * concurrent uncontrolled hypertension defined as sustained blood pressure (bp) \> 140 mm hg systolic, or \> 90 mm hg diastolic despite optimal antihypertensive treatment within 7 days of the first dose of study treatment * the subject has a corrected qt interval calculated by the fridericia formula (qtcf) \> 500 ms within 28 days before treatment * note: if initial qtcf is found to be \> 500 ms, two additional electrocardiograms (ekgs) separated by at least 3 minutes should be performed. if the average of these three consecutive results for qtcf is =\< 500 ms, the subject meets eligibility in this regard * any of the following within 6 months before the first dose of study treatment: * unstable angina pectoris * clinically-significant cardiac arrhythmias * stroke * myocardial infarction * subjects with a venous filter (e.g. vena cava filter) are not eligible * thromboembolic event * the subject has uncontrolled and significant disorders particularly those associated with a high risk of perforation or fistula formation including: * any of the following within 28 days before the first dose of study treatment: * active and symptomatic peptic ulcer disease * evidence of active or acute diverticulitis, intra-abdominal abscess, gi obstruction and abdominal carcinomatosis which are known risk factors for bowel perforation should be evaluated for the potential need for additional treatment before coming on study * any of following within 6 months before the first dose of study treatment: * abdominal fistula * gastrointestinal perforation * bowel obstruction or gastric outlet obstruction intra-abdominal abscess. note: complete resolution of an intra-abdominal abscess must be confirmed prior to initiating treatment with cabozantinib even if the abscess occurred more than 6 months before * other disorders associated with a high risk of fistula formation including percutaneous endoscopic gastrostomy (peg) tube placement within 3 months before the first dose of study therapy * subjects with active autoimmune disease or history of autoimmune disease that might recur, which may affect vital organ function or require immune suppressive treatment including systemic corticosteroids, should be excluded. these include but are not limited to subjects with a history of immune related neurologic disease, multiple sclerosis, autoimmune (demyelinating) neuropathy, guillain-barre syndrome, myasthenia gravis; systemic autoimmune disease such as systemic lupus erythematosus (sle), connective tissue diseases, scleroderma, inflammatory bowel disease (ibd), crohn's, ulcerative colitis, hepatitis; and subjects with a history of toxic epidermal necrolysis (ten), stevens-johnson syndrome, or phospholipid syndrome should be excluded because of the risk of recurrence or exacerbation of disease. subjects with vitiligo, endocrine deficiencies including thyroiditis managed with replacement hormones including physiologic corticosteroids are eligible. subjects with rheumatoid arthritis and other arthropathies, sjogren's syndrome and psoriasis controlled with topical medication and subjects with positive serology, such as antinuclear antibodies (ana), anti-thyroid antibodies should be evaluated for the presence of target organ involvement and potential need for systemic treatment but should otherwise be eligible. subjects are permitted to enroll if they have vitiligo, type i diabetes mellitus, residual hypothyroidism due to autoimmune condition only requiring hormone replacement, psoriasis not requiring systemic treatment, or conditions not expected to recur in the absence of an external trigger (precipitating event) * major surgery (e.g., laparoscopic nephrectomy, gi surgery, removal or biopsy of brain metastasis) within 2 weeks before first dose of study treatment. minor surgeries within 10 days before first dose of study treatment. subjects must have complete wound healing from major surgery or minor surgery before first dose of study treatment. subjects with clinically relevant ongoing complications from prior surgery are not eligible * the subject is unable to swallow tablets * history of organ transplant or stem cell transplant * subjects with uncontrolled intercurrent illness * subjects with psychiatric illness/social situations that would limit compliance with study requirements * pregnant women are excluded from this study because xl184 (cabozantinib) has the potential for teratogenic or abortifacient effects, and the effects of nivolumab on the developing fetus are not well known. because there is an unknown but potential risk for aes in nursing infants secondary to treatment of the mother, breastfeeding must be discontinued if the mother is treated with xl184 (cabozantinib) or nivolumab