Yeah, chironomids and other worms are frequent hitchhikers on aquarium plants that have been grown outdoors. Most likely it is harmless. There are some reddish leaches that could be a problem, but if it is a bloodworm, detritus worm, lumbriculid, etc. it will cause no harm, and may actually help clean up the tank a little (if it lasts long before being eaten).