Moth eaten alopecia is seen in -
Black dot tinea
Telogen effluvium
Alopecia areata
Secondary syphilis
Patchy hair loss of the scalp is described as moth eaten syphilitic alopecia seen in secondary syphilis. Ref Harrison20th edition pg 1202
Anatomy of skin