upvote
Agree, it's not PHP, it's strings concatenated into a query. Any language could theoretically do this.

LLMs should find (and be able to remediate) SQL injection in PHP very easily, I would think. Not really any excuse for it not getting done.

reply
It's less about php and keeping what's possible, up to date, before it's too late.

While I'm not a PHP person, I do know there's very capable enterprise level things going on with it like other languages and frameworks.

From the wordpress side, there may be a bit of a reckoning where the shared web hosts haven't kept their setup secure. Most users should find a way to independently backup their websites.

reply
> old modules that nobody wants to rewrite

If only we had a technology that could read those old modules and rewrite them using modern coding standards and up to date libraries. Shucks...

reply