It is very possible you are dealing with Spionid worms. I have a few in my tank as well. Pretty harmless but more of an eye sore for me. I really started seeing them multiply as I fed Reef Roids....
Reef Safe super glue is fine. This would essentially seal the worms opening and prevent it from spreading. My preferred method is to just manually remove.. If possible, I would try to scrape them off or if on the coral perhaps try tweezers. Best to ensure proper water parameters and low nutrient levels...As I mentioned above, I really started to see an outbreak after broadcast feeding Reef Roids.