noun
ulcer
UL-ser/ˈʌlsər/
An open sore on the skin or an internal body lining.
The illustration shows a small shallow ulcer on the skin.

Etymology
Latin ulcus already meant a sore. Early English use emphasized a festering wound on an external soft part of the body; the selected sense also includes sores on internal body linings.
In context
you could have an ulcer in your mouth like a mouth sore