These phones are coming out of the box with dust in the lense. Mine and wife’s did. And this isn’t on the outside.
I was going to swap it at tmobile within my return period but they wanted to charge me a $50 restocking fee since "technically" my phone works fine and since it's on the edge of the lense it doesn't affect my photos. Could I have apple swap it? Yes. But I decided to just let it be since almost every X I have seen has dust in the lense. Some are just worse than others. So I just let it be.
Same result
Original thread: https://forums.imore.com/threads/iphone-x-dust-in-the-lens.399719/