Onion sites are not dangerous by default. However, such sites can be hotspots for all kinds of criminal and illegal activity.
Be careful which onion sites you visit and use a VPN while at it. We’ve put together a list of dark web sites that are worth visiting.