Purana Jyotisha Sangraha · by Vyasa
Chapter 4 · Moon at Prabhasa, Mars at Kashi
शिवपुराणम् : कालज्ञानम् उत्पाताः ग्रहक्षेत्राणि च
सोमेश्वरश्च नाम्नासीद्विख्यातो भुवनत्रये ।क्षयकुष्ठादिरोगाणां नाशकः पूजनाद्द्विजाः ॥ ५१ ॥
From the Shiva Purana, print Kotirudra Samhita ch 14, verse 51.
He became famous in the three worlds as Someshvara. By worship, O Brahmins, he is said to destroy illnesses like wasting sickness and leprosy.
Simple meaning: The text says worship at Someshvara may heal wasting sickness and leprosy.
Classical view, not medical advice.
धन्योऽयं कृतकृत्योऽयं यन्नाम्ना शंकरस्स्वयम् ।
The text says the Moon is blessed because Shiva stays there in his name.
तत्कुण्डं तैश्च तत्रैव सर्वैर्देवैः प्रतिष्ठितम् ।
The text says the gods and Brahma set up the pool there.
चन्द्रकुण्डं प्रसिद्धं च पृथिव्यां पापनाशनम् ।
The text says bathing at Chandra Kunda frees a person from sin.