It’s possible for syphilis to infect the nervous system during any stage of the infection - this is typically referred to as neurosyphilis and can cause a number of problems, such as stroke, meningitis, visual problems, and dementia.