talimogene laherparepvec and nivolumab in treating patients with refractory lymphomas or advanced or refractory non-melanoma skin cancers

Conditions: Anaplastic Large Cell Lymphoma, ALK-Negative; Anaplastic Large Cell Lymphoma, ALK-Positive; Apocrine Carcinoma; Carcinoma Arising From Cylindroma; Carcinoma Arising From Spiradenoma; Digital Papillary Adenocarcinoma; Endocrine Mucin-Producing Sweat Gland Carcinoma; Extramammary Paget Disease; Extraocular Sebaceous Carcinoma; Hidradenocarcinoma; Malignant Sweat Gland Neoplasm; Merkel Cell Carcinoma; Microcystic Adnexal Carcinoma; NK-Cell Lymphoma, Unclassifiable; Papillary Adenocarcinoma; Porocarcinoma; Primary Cutaneous Mucinous Carcinoma; Recurrent Mature T-Cell and NK-Cell Non-Hodgkin Lymphoma; Recurrent T-Cell Non-Hodgkin Lymphoma; Refractory Anaplastic Large Cell Lymphoma; Refractory Mature T-Cell and NK-Cell Non-Hodgkin Lymphoma; Refractory Merkel Cell Carcinoma; Refractory Mycosis Fungoides; Refractory Primary Cutaneous T-Cell Non-Hodgkin Lymphoma; Refractory Skin Squamous Cell Carcinoma; Refractory T-Cell Non-Hodgkin Lymphoma; Sezary Syndrome; Signet Ring Cell Adenocarcinoma; Skin Adenoid Cystic Carcinoma; Skin Adnexal Carcinoma; Skin Basal Cell Carcinoma; Skin Basosquamous Cell Carcinoma; Skin Keratoacanthoma; Skin Squamous Cell Carcinoma; Squamoid Eccrine Ductal Carcinoma; Squamous Cell Carcinoma of Unknown Primary; Sweat Gland Carcinoma; Trichilemmal Carcinoma; Vulvar Squamous Cell Carcinoma

Summary: this phase ii trial studies how well talimogene laherparepvec and nivolumab work in treating patients with lymphomas that do not responded to treatment (refractory) or non-melanoma skin cancers that have spread to other places in the body (advanced) or do not responded to treatment. biological therapies, such as talimogene laherparepvec, use substances made from living organisms that may stimulate or suppress the immune system in different ways and stop tumor cells from growing. 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 talimogene laherparepvec and nivolumab may work better compared to usual treatments in treating patients with lymphomas or non-melanoma skin cancers.

primary objective: i. to determine the frequency of patients responding (response rate) to talimogene laherparepvec monotherapy. secondary objectives: i. to determine the local response rate to talimogene laherparepvec in injected tumors. ii. to determine the response rate to talimogene laherparepvec + nivolumab (nivo). iii. to identify potential pre-treatment and on-treatment correlative biomarkers of local and systemic immune response. outline: patients receive talimogene laherparepvec intratumorally (it) and nivolumab intravenously (iv) over 30 minutes on day 1. cycles repeat every 21 days for cycle 1 then every 14 days for up to 1 year in the absence of disease progression or unacceptable toxicity. patients undergo computed tomography (ct) scan or positron emission tomography (pet)/ct scan on study. patients also undergo blood sample collection and biopsies on study. after completion of study treatment, patients are followed up every 12 weeks for 3 years.

Eligibility criteria:
inclusion criteria: * patients must have histologic or cytologic diagnosis of non-melanoma skin cancer (nmsc) or lymphomas other than b-cell lymphomas; as both of those terms are categories rather than specific diagnoses, specific guidance on eligible tumor types is provided below * part i (before february 2020 amendment): included tumor types * t cell and nk cell lymphomas, including, but not limited to: cutaneous t-cell lymphomas (ctcl), mycosis fungoides (mf), sezary syndrome (ss), peripheral t-cell lymphoma (ptcl), alk-positive and alk-negative anaplastic large cell lymphoma (alcl), and nk-cell lymphomas * merkel cell carcinoma * squamous cell carcinoma of the skin, including keratoacanthomas, vulvar squamous carcinoma, and mixed histology tumors, such as basosquamous carcinoma, and squamous cell carcinoma of unknown primary consistent with skin origin * other non-melanoma skin cancers * basal cell carcinoma * malignant sweat gland tumors, including porocarcinoma, hidradenocarcinoma, spiradenocarcinoma, cylindrocarcinoma, microcystic adnexal carcinoma and related entities, squamoid eccrine ductal carcinoma, cutaneous adenoid cystic carcinoma, digital papillary adenocarcinoma, primary cutaneous mucinous carcinoma, endocrine mucin-producing sweat gland carcinoma, primary cutaneous signet ring cell carcinoma, cutaneous apocrine gland carcinoma, and extraocular sebaceous carcinoma * adnexal carcinoma * trichilemmal carcinoma * extramammary paget's disease * any other rare tumor of the skin with approval of principle investigator (pi) * part ii (after february 2020 amendment): * the merkel cell carcinoma (mcc)-2 cohort will include patients with mcc * the squamous cell carcinoma (scc)-2 cohort will include patients with scc * part i (before february 2020 amendment): patients with t cell and natural killer (nk) cell lymphomas must be refractory to, be intolerant of, have relapsed following, or have refused all standard life-prolonging therapies * part i (before february 2020 amendment): patients with non-melanoma skin cancers (nmsc) must have advanced or refractory tumors * advanced/unresectable is defined by at least 1 of the following criteria: tumors 2 cm or more, tumors considered unresectable, tumors invading deep tissues such as muscle, cartilage or bone, tumors showing perineural invasion, and/or tumors metastatic to loco-regional lymph nodes and/or distant sites * refractory is defined by persistent or recurrent tumor despite prior therapy consisting of at least 1 of the following: surgery, radiation therapy, intralesional therapy, topical therapy, or systemic therapy * part i (before february 2020 amendment): subjects must have at least 1 cutaneous, subcutaneous, or nodal lesion that is suitable for intralesional injection, with or without the use of ultrasound; lesions in mucosal surfaces (periocular, nasal, etc) are not eligible for injection because the area cannot be properly contained with an occlusive dressing * part i (before february 2020 amendment): subjects must have radiographically or clinically measurable disease, defined as at least one lesion that is \>= 10 mm in diameter in at least 1 dimension, or an aggregate of lesions that measures \>= 10 mm in diameter in at least 1 dimension * part i (before february 2020 amendment): subjects must be able and willing to undergo serial biopsies of injected lesion(s) and, when applicable and clinically feasible, non-injected lesions * part i (before february 2020 amendment): eastern cooperative oncology group (ecog) performance status =\ = 60%) * part i (before february 2020 amendment): absolute neutrophil count (anc) \>= 1.2 x 10\^9/l * part i (before february 2020 amendment): hemoglobin \>= 9 g/dl without transfusion in the preceding 7 days * part i (before february 2020 amendment): platelets \>= 75 x 10\^9/l * part i (before february 2020 amendment): serum total bilirubin =\< 1.5 x institutional upper limit of normal (uln) (patients with gilbert's syndrome with a total bilirubin \< 3.0 mg/dl) * part i (before february 2020 amendment): aspartate aminotransferase (ast) and alanine aminotransferase (alt) =\< 2.5 x institutional uln * part i (before february 2020 amendment): serum creatinine =\ = 50 ml/min or 24-hour urine creatinine clearance \>= 50 ml/min * part i (before february 2020 amendment): prothrombin time (pt)/international normalized ratio (inr) and partial thromboplastin time (ptt) =\< 1.5 x institutional uln, unless the subject is on anticoagulant therapy; (if the subject is receiving anticoagulant therapy, pt, and activated ptt \[aptt\] must be within therapeutic range of intended use of anticoagulants) * part i (before february 2020 amendment): talimogene laherparepvec, nivolumab and other therapeutic agents used in this trial may cause fetal harm when administered to a pregnant woman; women of child-bearing potential (wocbp) and must agree to use adequate contraception (hormonal or barrier method of birth control; abstinence from heterosexual intercourse) prior to study entry, during the study participation, and for 7 months after the last dose of the drug; wocbp must have a negative serum pregnancy test within 14 days prior to randomization; should a woman become pregnant or suspect she is pregnant while she or her partner is participating in this study, she should inform her treating physician immediately; men must agree to use adequate contraception prior to study entry, during the study participation and for 7 months after the last dose of the drug * part i (before february 2020 amendment): ability to understand and the willingness to sign a written informed consent document * part ii (after february 2020 amendment): subjects in expansion cohorts mcc-2 and scc-2 must have a diagnosis of mcc or scc, respectively * part ii (after february 2020 amendment): subjects must have refractory disease, defined as evidence of progressive disease despite prior therapy with a pd-1 or pd-l1 blocking antibody (avelumab, pembrolizumab, nivolumab, cemiplimab, etc.); progression must have occurred during pd-1 or pd-l1 directed therapy or within 6 months of the last dose of pd-1 or pd-l1 directed therapy * part ii (after february 2020 amendment): subjects must have at least 1 cutaneous, subcutaneous, or nodal lesion that is suitable for intralesional injection, with or without the use of ultrasound; lesions in mucosal surfaces (periocular, nasal, etc) are not eligible for injection because the area cannot be properly contained with an occlusive dressing * part ii (after february 2020 amendment): subjects must have radiographically or clinically measurable disease, defined as at least one lesion that is \>= 10 mm in diameter in at least 1 dimension, or an aggregate of lesions that measures \>= 10 mm in diameter in at least 1 dimension * part ii (after february 2020 amendment): subjects must be able and willing to undergo serial biopsies of injected lesion(s) and, when applicable and clinically feasible, non-injected lesions * part ii (after february 2020 amendment): ecog performance status =\ = 60%) * part ii (after february 2020 amendment): absolute neutrophil count (anc) \>= 1.2 x 10\^9/l * part ii (after february 2020 amendment): hemoglobin \>= 9 g/dl without transfusion in the preceding 7 days * part ii: p (after february 2020 amendment): platelets \>= 75 x 10\^9/l * part ii (after february 2020 amendment): serum total bilirubin =\< 1.5 x institutional upper limit of normal (uln) (patients with gilbert's syndrome with a total bilirubin \< 3.0 mg/dl.) * part ii (after february 2020 amendment): aspartate aminotransferase (ast) and alanine aminotransferase (alt) =\< 2.5 x institutional uln * part ii (after february 2020 amendment): serum creatinine =\ = 50 ml/min or 24-hour urine creatinine clearance \>= 50 ml/min * part ii (after february 2020 amendment): prothrombin time (pt)/international normalized ratio (inr) and partial thromboplastin time (ptt) =\< 1.5 x institutional uln, unless the subject is on anticoagulant therapy; (if the subject is receiving anticoagulant therapy, pt, and aptt must be within therapeutic range of intended use of anticoagulants) * part ii (after february 2020 amendment): talimogene laherparepvec, nivolumab and other therapeutic agents used in this trial may cause fetal harm when administered to a pregnant woman; women of child-bearing potential (wocbp) and must agree to use adequate contraception (hormonal or barrier method of birth control; abstinence from heterosexual intercourse) prior to study entry, during the study participation, and for 7 months after the last dose of the drug; wocbp must have a negative serum pregnancy test within 14 days prior to randomization; should a woman become pregnant or suspect she is pregnant while she or her partner is participating in this study, she should inform her treating physician immediately; men must agree to use adequate contraception prior to study entry, during the study participation and for 7 months after the last dose of the drug * part ii (after february 2020 amendment): ability to understand and the willingness to sign a written informed consent document exclusion criteria: * excluded tumor types * melanoma * bone sarcomas * soft tissue sarcomas, including angiosarcoma, primary cutaneous leiomyosarcoma, dermatofibrosarcoma protuberans * leukemias * myeloid sarcoma, leukemia cutis, and chloroma * hodgkin's lymphoma * b cell lymphoma * patients who have had systemic therapy or radiotherapy within 3 weeks prior to the first dose of study therapy * untreated central nervous system (cns) involvement; patients with known brain metastases are eligible if they have been treated and are stable in the view of the treating investigator * previous treatment with talimogene laherparepvec or other herpes virus based therapy; (prior therapy with checkpoint inhibitors and/or other immunotherapy is allowed) * patients who have not recovered from adverse events due to prior anti-cancer therapy (i.e., have residual toxicities \> grade 1 excepting alopecia, peripheral sensory neuropathy, and stable endocrine insufficiencies such as thyroid and adrenal insufficiency) * second primary malignancy, only if it would affect the safety of the treatment or the subject's ability to complete study-related procedures * history or evidence of active autoimmune disease (e.g., pneumonitis, glomerulonephritis, vasculitis, or other); or history of active autoimmune disease that has required systemic treatment (i.e., use of corticosteroids, immunosuppressive drugs or biological agents used for treatment of autoimmune diseases) within 2 months of enrollment; (replacement therapy \[e.g., thyroxine for hypothyroidism, insulin for diabetes or physiologic corticosteroid replacement therapy for adrenal or pituitary insufficiency\] is not considered a form of systemic treatment for autoimmune disease) * evidence of clinically significant immunosuppression such as the following: * primary immunodeficiency state such as severe combined immunodeficiency disease * receiving systemic immunosuppressive therapy including prednisone \> 10 mg per day (or equivalent), tacrolimus, everolimus, sirolimus, mycophenolate mofetil, etanercept, infliximab, etc. * recipients of solid organ, bone marrow, or stem cell transplants; auto transplant recipients are allowed * notes: oral steroid doses =\< 10 mg/day of prednisone (or equivalent) are not considered immunosuppressive and are permitted; inhaled and intraarticular corticosteroids are permitted * active herpetic skin lesions or prior complications of herpetic infection (e.g., herpetic keratitis or encephalitis) * viral infections requiring intermittent or chronic systemic (intravenous or oral) treatment with an antiherpetic drug (e.g., acyclovir), other than intermittent topical use * other viral infections: * known to have acute or chronic active hepatitis b or hepatitis c infection * known to have human immunodeficiency virus (hiv) infection * prior therapy with viral-based tumor vaccine * received live vaccine within 28 days prior to enrollment * subject who is unwilling to minimize exposure with his/her blood or other body fluids to individuals who are at higher risks for human herpesvirus 1 (hsv-1) induced complications such as immunosuppressed individuals, individuals known to have hiv infection, pregnant women, or children under the age of 1 year, during talimogene laherparepvec treatment and through 30 days after the last dose of talimogene laherparepvec * has a history of (non-infectious) pneumonitis that required steroids or current pneumonitis * uncontrolled intercurrent illness including, but not limited to, ongoing or active infection, symptomatic congestive heart failure, unstable angina pectoris, cardiac arrhythmia, or psychiatric illness/social situations that would limit compliance with study requirements * female subject is pregnant or breast-feeding, or planning to become pregnant during study treatment and through 7 months after the last dose of treatment; female subject of childbearing potential who is unwilling to use acceptable method(s) of effective contraception during study treatment and through 7 months after the last dose of treatment; sexually active subjects and their partners unwilling to use male or female latex condom to avoid potential viral transmission during sexual contact while on treatment and within 30 days after treatment with talimogene laherparepvec * have a known immediate or delayed hypersensitivity reaction or idiosyncrasy to talimogene laherparepvec or any of its components or nivolumab, or history of severe hypersensitivity reaction to any monoclonal antibody