Re:TrendMicro Node.js HTTP server listening on localhost can...
by sangnoir on Tuesday January 12, 2016 @05:28AM
(#10886543)
> The problem is that JS is really easy to make mistakes in because of silent errors, dynamic typing, type coercion, etc.
All those are not a factor in this instance. It seems to me it's a result of calling exec() on unscrubbed user input, and this can be done in any language.
The result is that your server-side JS is more prone to different kinds of security issues.
On the client side, in the browser, JS is sandboxed, so the language is almost irrelevant. If JS can't actually access the underlying system, no number of bugs make the code insecure.