The Supreme Court has severely curtailed the use of universal injunctions, finding them to exceed the equitable goal of providing complete relief to the party to a lawsuit.
The full text of Trump v. CASA can be found here:
https://www.supremecourt.gov/opinions/24pdf/24a884_new_5426.pdf