How to remove legendarytable.com malware ( cleanup guide )

The recent malware contamination affects many WordPress sites. Approx. 7346 web pages are compromised. Both web files and database are affected.
Particulary, wp_posts gets injected with “clipjs.legendarytable[.]com/clip.js”.