Thank you!
I was able to remove the bad script by updating my wordpress theme and Kaspersky no longer blocks the site.
Meanwhile Virus total still points it as malware since Fortinet flaged it. Is this a temporary thing or there's more malware besides the one that I removed?
Thank you all for the attention