Etymology
Today it means: Something that smells foul to the nose. Full definition →
By analogy with eyesore and earsore.
Etymology from Wiktionary, CC BY-SA 4.0.