A woman has been attacked by a shark at Gunyah Beach and suffered a serious leg injury.