We consider, under suitable assumptions, the following situation: B is a component of the moduli space of polarized surfaces and V m,δ is the universal Severi variety over B parametrizing pairs (S, C), with (S, H) ∈ B and C ∈ |mH| irreducible with exactly δ nodes as singularities. The moduli map V → Mg of an irreducible component V of V m,δ is generically of maximal rank if and only if certain cohomology vanishings hold. Assuming there are suitable semistable degenerations of the surfaces in B, we provide sufficient conditions for the existence of an irreducible component V where these vanishings are verified. As a test, we apply this to K3 surfaces and give a new proof of a result recently independently proved by Kemeny and by the present authors.