We present a comprehensive analysis in the 3+1 active-sterile neutrino oscillation scenario for the sensitivity of the ESSnuSB experiment in the presence of light sterile neutrinos assuming both a far (FD) and a near (ND) detector. Our analysis show that when the ND is ...