Certified GKH Gardening Expert
This is bacterial, usually, from overwatering or remaining wet for too long. Make sure that the soil is free draining, and the container allows all extra water to leave, freely. Epiphyte and cactus soil is best.
From here, you may need a fungicide. This article will help you with fungicide use:
This article will help you to care for your Easter Cactus: