--- title: Common Security Issues order: 8 layout: page --- [[advanced.security]] = Common Security Issues [[advanced.security.sanitizing]] == Sanitizing User Input to Prevent Cross-Site Scripting You can put raw HTML content in many components, such as the [classname]#Label# and [classname]#CustomLayout#, as well as in tooltips and notifications. In such cases, you should make sure that if the content has any possibility to come from user input, you must make sure that the content is safe before displaying it. Otherwise, a malicious user can easily make a link:http://en.wikipedia.org/wiki/Cross-site_scripting[cross-site scripting attack] by injecting offensive JavaScript code in such components. See other sources for more information about cross-site scripting. Offensive code can easily be injected with [literal]#++