Hi, welcome to the forum...I know that with branches or rocks they need to be treated in order to kill any potential parasites. Some methods include baking, freezing or a bleach solution. I have only used the baking method, but I'm not sure how well moss would hold up to being in the oven.
I would advise not using moss picked from outside until somebody with experience there says it's ok. For the most part, the people on here who are giving advice are experienced, knowledgeable keepers who are very trustworthy.