Cold sores are caused by the herpes simplex virus (HSV) which is often transmitted from person to person during kissing.