Detectives are working to establish if the two attacks are linked.