So if you are plagued by mouth ulcers, it may be worth avoiding toothpastes labelled as containing SLS and visiting your health-food store for a non-foaming alternative. There are a few factors to consider when it comes to warding off mouth ulcers.