Any idea how one would go about preventing XSS attacks on a node.js app? Any libs out there that handle removing javascript in hrefs, onclick attributes,etc. from POSTed dat
Try out the npm module strip-js. It performs the following actions:
strip-js
https://www.npmjs.com/package/strip-js