I have had a scan performed on my website looking for vulnerabilities, etc. The report was returned saying there was a risk of an XSS attack, I have looked in to my website code and the only issue I can find (which is causing a W3C validation error) is that I have accidentally added ‘language=”javascript”‘ to my script tag…could this have thrown the error which they have reported? I don’t have any form inputs and it is not connected to a database.
Many thanks, in advance.
Any reputable consultant should make it clear in their report exactly what the risk is and how it is reproduced. I’d expect to see documented methodology, findings and conclusions.
If they can’t demonstrate a risk then they can’t say they have found one.
UPDATE:
Based on your comment I’ve found the following, which identifies this as a general vulnerability with the Apache webserver rather than your particular code. You should ask whoever manages your webhosting to comment.
http://www.rapid7.com/vulndb/lookup/http-apache-expect-header-xss
http://www.iss.net/security_center/reference/vuln/HTTP_Apache_Expect_XSS.htm
UPDATE 2:
The following is a description of the vulnerability (link). Ask your hosting people to check their servers are properly patched.