What concerns me, and others in the security community, however, is that if simply visiting a website with your iPhone can cause it to be jailbroken - just imagine what else could hackers do by exploiting this vulnerability?
— JailBreakMe: Security warning for iPhone and iPad owners | Graham Cluley’s blog