The herpes simplex virus (HSV) causes this infection. It leads to either oral herpes or genital herpes with two types. Both can create sores in these areas.