Strange code showing on my site

Have the same problem. I found this script when troubleshoot the inability of Yandex bot to read the verification code from the html file.
If you reload the page several times the script will disappear, but for sure it doesn’t help to pass the verification.
Tried to switch off all the suspicious options in control panel but with no success.