Lung cancer is the leading cause of cancer mortality worldwide, and malignant melanomas are highly lethal owing to their elevated metastatic potential. Despite improvements in therapeutic approaches, cancer treatments are not completely effective. Thus, new drug candidates are continuously sought. We synthesized mono- and di-methoxylated cinnamic acid esters and investigated their antitumor potential. A cell viability assay was performed to identify promising substances against A549 (non-small-cell lung cancer) and SK-MEL-147 (melanoma) cells. (E)-2,5-dimethoxybenzyl 3-(4-methoxyphenyl)acrylate (4m), a monomethoxylated cinnamic acid derivative, was identified as the lead antitumor compound, and its antitumor potential was deeply investigated. Various approaches were employed to investigate the antiproliferative (clonogenic assay and cell cycle analysis), proapoptotic (annexin V assay), and antimigratory (wound-healing and adhesion assays) activities of 4m on A549 cells. In addition, western blotting was performed to explore its mechanism of action. We demonstrated that 4m inhibits the proliferation of A549 by promoting cyclin B downregulation and cell cycle arrest at G2/M. Antimigratory and proapoptotic activities of 4m on A549 were also observed. The antitumor potential of 4m involved its ability to modulate the mitogen-activated protein kinases/extracellular signal-regulated kinase (MAPK/ERK) signaling pathway once phosphorylated-ERK expression was considerably reduced in response to treatment. Our findings demonstrate that 4m is a promising anticancer drug candidate.