How can I remove a spam page from my website index?

OK i m going to show you that this is a vulnerability with the vendors?q section of any website:

Any one can use this code here is a screenshot of the code used notice how the highlighted in blue section added says “thisisatestforshopify”:

Anyone can do this to any website , its not a malware in shopify servers, at least i don’t think it is since its effecting a lot of other non shopify stores. This is probably a bot going around doing this to most online stores on the net that have the vendors?q section .

I already asked shopify to see if they can turn off the vendor?q section and there reply was NO since its a vital part of platform.

As i mentioned in my earlier post, the problem is google indexing that page created by the bot and showing it in the search result. Last time i searched on google millions of online stores are effected worldwide.

I tried to modify my robot.txt so that google won’t index these pages. But i soon found out that is useless since google has this policy. If another website has a link to that page google will still index that page on ur site and ignore your robot.txt instruction not to index. Which is what the bot is doing as its creating fake a page in an online store its also creating a link to it.

Google policy is to ignore the site owners request not to index specific pages.

I honestly don’t know if this effecting our SEO , if its happening to everyone aren’t we all in the same boat?

Using my google search council i only found one site linking to this created fifa url , i m going to disavow it and see if that does anything!