if the phone has not been jailbroken there are no reported hacks for iOS at this time that have not been addressed with current updates.
The behavior you describe however hardly needs any hacking on iOS to get information. For a spammer to send links over email or message they only need an email or a phone number or both, and any information you use in social media expect that information to available to anyone.