The last modifications of this post were around 8 years ago, some information may be outdated!
I had a guest post over at my company's blog, reflecting a bit on some of the coding vulnerabilities that still plague us today...
https://www.freshconsulting.com/dev-principle-7-avoid-common-code-vulnerabilities