Filling hole after removing medicine cabinet
Plastic stapled to the face of the wall will work as you noted. Also any thin veneer such as a door skin so it overlaps the opening will prove to be a bit more rigid if that matters and is easily cut with a utility knife.  if you can't hit he studs the door skin should still remain in place with only some small box head-type nails.