My family is not poor or dirty and my daughter was infected with pin worms last fall. The nurse says the source was likely some unwashed vegetables. Nobody else in the family became infected but we all had to take the same medicine she did. It was awful for her.
I have sometimes wondered if the are any type of worms or other parasites that can be in your body without making you aware of their presence.