Kind of a dumb question 😬

I know this is dumb but I have a doubt. So, hypothetically, two virgins want to have sex. Since they are both virgins, they can’t have any STDs, so technically (excluding pregnancy) they can have unprotected sex and not contract any disease.

This doesn’t seem right, can someone correct me?