How to know if a mouth sore is infected by other mouth germs?

It is. Any sore in the mouth is likely to infected or at least colonized by multiple organisms present in the mouth.