Defender Foxe signed a short-term contract in the summer and that is due to expire in January.
There were doubts over the future of the ex-Portsmouth and West Ham centre-back after Dennis Wise took over from Kevin Blackwell.
But he appears to have impressed the new management team enough to warrant a longer term contract.