A chancre is a painless ulcer that typically forms at the site of infection during the initial stage of syphilis, a sexually transmitted infection (STI) caused by the bacterium Treponema pallidum. In gynecology, chancres are of particular concern as they may appear on the genitalia, cervix, or perianal area in women.