Not from Safari itself, but it’s possible to get your iPhone infected via Safari. Just as any other browser, Safari can be a getaway for malicious programs and viruses. This is why it’s important to avoid clicking on links and ads on the websites you don’t trust, and generally avoid suspicious-looking websites.
![](https://adcod.com/wp-content/uploads/2022/09/can-iphones-get-safari-viruses.png)