The woman is being treated for critical injuries after the incident in New South Wales, authorities say.