I think mine got it from injuries to the mouth by feeders. Or that's what it looked like, but I have no idea. I've only had three that got it, and the worst one (kept coming back regardless of antibiotic, but went away with reptaid) already had it when I got her. I was told that she had had mouth rot, but that it was gone. Within 2 weeks, she had it again! And then again, and again. 3rd time the reptaid made the whole thing to away and she never got it again. I was completely surprised by it. I rinsed the infected area out with the reptaid and carefully used a dental tool I had to help get rid of the excess gunk. (Don't recommend that unless you get the okay from a vet or know what you're doing.) she also had a very very small and sad-looking clutch of eggs (unburied and in a hanging pothos pot) within a week of getting her, so I'm sure that didn't help.
Of course, reptaid is, in my opinion, still unlikely to cure/fix issues. I don't know if I just got lucky or what, but I think it's worth a try if there is absolutely nothing else you can do or you do it while you are waiting to see the vet.