Currently script server is not safe enough against XSS attacks. Should be fixed Possible solution http://www.tornadoweb.org/en/stable/guide/security.html#cross-site-request-forgery-protection