The cuboid syndrome is one potential cause of pain on the outside of the foot, although its existence is debated. There is a degree of controversy as to what it exactly is, with certain experts doubting it exists and suggesting that the underlying reasons of the related issues is due to a range of other underlying conditions. There is not a lot of evidence on it. https://articles.abilogic.com/499923/what-cuboid-syndrome.html