Cuboid syndrome is one potential cause of pain on the outside of the foot, that is if it actually exists. There is some controversy as to its true nature, with certain experts doubting it exists and suggesting that the cause of the related issues is due to a range of other underlying conditions. There is limited evidence supporting it. https://articles.abilogic.com/499923/what-cuboid-syndrome.html