I'm developing a CMS and I host the users sites on my server (as Tumblr or Wordpress do). Since I let them write custom HTML & CSS code for their site pages I would like to know if there is any security problem letting them write javascript code too and what kind of problems it can cause..
Thank you!