News for hackers. Stuff that matters.
Re:Finding an authorization bypass on my own website by nicoburns on Saturday March 05, 2022 @09:04PM (#30574295)
That’s also true of a decent JS library. The problem here being that the library wasn’t decent.

A library in a strongly typed language would still need to use parameterised queries or escape the strings just like a JS library. And it would be just as easy or difficult to have an incorrect sanitising function.

In fact, the specified string is not invalid input, it would be perfectly valid to store backticks in a string field in MySQL. They just need to be correctly escaped before being submitted to the database.

There are no comments on this comment yet.