This type of hack is called "SEO [search engine optimisation] poisoning", and first emerged in 2020, according to a recent ...
SOPHOS advises anyone who suspects they may have fallen victim to this tactic to change their passwords immediately.