Cement board or plywood for stuccoing over
You can use any of those materials, or none of those. Waterproof paper (properly installed such that water is prevented from penetrating the repair seams) and wire mesh alone, with no substrate, may be just fine.

An important part of the job that you do not mention (and is not apparent in your picture) is the waterproof paper/membrane.