There is no risk of contracting any stds just by contact with pubic hair.
But nonetheless, there are other bacterias that are found there, so i dont suggest you to rub you mouth and face there.
It is not limited to just crabs, which by the way is a parasite. That is why i broadly stated bacteria. I guess i made my point clear that it is unhygienic.