The medical specialty that is concerned with sexually transmitted diseases is venereology.