I just added Hacker Safe to my ecommerce site. During the initial audit scan, I have 2 XSS vulnerabilities, which I have no idea on how to fix. The vulnerabilities are in posting form data. Please PM me if you think you can help me recode the form data to fix this.
Does anyone know how to fix this? I'm not sure how to sanitize the input and output form data from XSS. I'm running an osCommerce site using PHP with Apache.
Will need more information on what stuff you're running.. commercial script? free script? home made script? Typically just filtering the output of the data using a PHP function like htmlentities() will fix the issue.