The 37-year-old was attacked when she answered the door of a property in Edinburgh on Friday night.