Here is the thing. All these languages give you wide power - you can do all kinds of things with them. Anyone who doesn't know what they are doing when they make a script can easily "misuse" the power and leave holes in the script allowing anyone on the outside use the power the language gives you.

So, basically, in order to judge which language is more secure, you have to look at what kind of features the language has. The most secure language would be one that wouldn't let you access any external files, wouldn't have any sort of internet capabilities, etc, etc. Obviously this would make for a pretty crappy language and so that is why ASP, CGI, PHP, etc. are all exremely "insecure" in that sense.

Just pick one for other reasons besides the "security" and learn it very well and everything will be secure.