Volunteer seedlings turn up all the time in my vermicompost. Known hazard of a cold composting process (that results in a great seedling-enhancing medium). Generally these are easy seedlings to spot and pull or chop down.
Ideally, when top dressing the soil with vermicompost, you'd want to put some kind of mulch layer over the top of the castings, which helps inhibit the volunteering - this is also a good practice because vermicompost that dries out in the air can get hard and crusty, and subsequently be very slow to finish breaking down into the soil - even rain, on crusty vermicompost, doesn't dissolve it that readily.
Hot composting the feedstocks before giving them to the worms is one option. Commercial vermicompost operations do this. Worth doing with yard waste if you've got lots of seed-containing weeds/undesired plants to
compost.
If composting kitchen scraps on a small scale, you can bake, boil or microwave any seed-containing waste to kill the seeds. You might not care to use the
energy to do this routinely, but it could be worthwhile if you have a large quantity of seed-containing stuff to compost, such as that generated by cooking or canning in large batches. You can get a light baking, sufficient to kill seeds, by putting the waste into the
oven while it's preheating to cook something else. (This is also how I dry my eggshells before grinding them for the worm bin.)