How to select vertices masked in sculpting mode?

Hey guys, is there a way to select vertices masked in sculpting mode?
Alternatively, can you convert face sets to vertex selection?
I’m trying to use the dirt map in edit mode but can’t find a way how to do it. Please advice.

EDIT: creating a vertex group from masked would help too.