“Cancer” is a broad, catch-all term for a wide variety of neoplastic malignancies. “One vax to rule them all”? Not happening any time soon.
You are correct. Each cancer has unique gene changes and expression of external markers (proteins) that cause their behavior.