It is very rare but there have been reports of people getting sick from uncooked green onions. If you properly clean your vegetables and only buy them from reputable suppliers, you shouldn't worry too much.