Gillies, 29, will go under the knife on November 8 and is expected to be out of action for six weeks from that date.
He has scored 11 goals in 51 appearances for Shields since joining from Darlington last summer.
Keep up-to-date with our exclusive email newsletters.
Subscribe