Automated VR therapy led to significant reductions in anxious avoidance of, and distress in, everyday situations compared with usual care alone. The mediation analysis indicated that the VR therapy worked in accordance with the cognitive model by reducing anxious thoughts and associated protective behaviours.