reCAPTCHA v3 leading to more spam

jason94024
jason94024 used Ask the Experts™
on
We had to upgrade to reCAPTCHA v3 from v2.  I am seeing a lot more spam coming through the sites... wondering if anyone knows how I can adjust settings or something to help.

thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Exec Consultant
Distinguished Expert 2018
Commented:
It seems to happen to the use of Wordpress too, and for a quick fix...
The only way to get around this at the moment is to revert back to the previous version 7.5.05 and use captcha v2
and a workaround was suggested - The change suggested is a temporary hack, not a fix.  
It looks like there is a logic issue where failing to provide the g-recaptcha-response allows the submission through.

This is a _very_ unofficial change on my part, but it seems to work for me.

Edit line 114 of modules/recaptcha.php (version 5.1)

It reads:

return $spam;

Change it to:

return true;


This will change it so that any submission that does not attempt the Recaptcha V3 validation will be rejected.

Author

Commented:
thanks, so this is something that they are trying to fix... it is a known problem?  Do you think they will be able to fix it? - thanks.
btanExec Consultant
Distinguished Expert 2018

Commented:
Not necessary so better to post to the forum as it may be a known issue on reCAPTCHA or the website plugin.  Earlier post suggest plugin issue.

https://groups.google.com/forum/m/#!topic/recaptcha/obfShqstTrM

Author

Commented:
ahhh I see, good advice, thanks

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial