Caffeic acid and the ethanolic extract of spent coffee grounds could potentially act as dual inhibitors targeting DPP-4 and MMP-9 as alternative treatments for type 2 diabetes mellitus and diabetic foot ulcers. Here, MMP9 is linked to diabetes mellitus.