Jquery-validation: Russian bots are getting through the validation

Created on 24 May 2017  路  3Comments  路  Source: jquery-validation/jquery-validation

Hi,

Despite having this successfully implemented, we have Russian bots submitting form data still and bypassing the validations.

Any ideas to help lock this down would be greatly appreciated.

Thanks a lot.

Question

Most helpful comment

Are you doing any kind of validation or input sanitation on your back-end? Bots usually just ignore JavaScript.

All 3 comments

Are you doing any kind of validation or input sanitation on your back-end? Bots usually just ignore JavaScript.

They're probably not even bothering with your HTML/JavaScript, other than for having a form template on how to send the data.
JavaScript isn't enforced - in any decent browser you can disable it, so you'll be left with HTML5 form validation that only works in up-to-date browsers (and can also be skipped), and in most of them you can also access the JavaScript console and do whatever you want (also through injected user-scripts - i.e. Tampermonkey, Greasemonkey, etc).
Also, sending HTTP (GET, POST, etc) requests can be done even through telnet or other raw methods, without any HTML or JavaScript whatsoever getting involved.
Your only hope is to validate data in the back-end.

TL;DR isn't a bug, IMO

Will close for now. Feel free to ask further questions regarding this topic here. We can re-open if required.

IMO question was answered above, thank you guys

Was this page helpful?
0 / 5 - 0 ratings