The relationship between the 11-month-old baby and those arrested has not been confirmed.
It is believed the girl was not at her home address at the time of the incident.
Nobody else was injured during the attack.
More top news
A teenager has been jailed at Hull Crown Court after throwing bleach into the face of an aspiring model
Here is what we know about the disappearance of 16-year-old Becky Watts.
A skydiver who suffered a seizure while falling at nearly 9,000 ft has revealed that he has no memory of the incident.