All fertilizers contain heavy metals, mineral fertilizers and organic fertilizers.
Real soil contains heavy metals as well and sometimes quite a lot and I'd bet soilless mixes and coco too.
Some of them, like Fe, Cu, Mo, Mn etc, are essential for plants (and for almost every living thing...)...