We have a method in utilmethods to handle this. We can handle it at the top of the velocity servlet
Description
please test and fix the following
for example view in IE:
http://demo.dotcms.org/"><script>alert(097531);</script>/
We have a method in utilmethods to handle this. We can handle it at the top of the velocity servlet
Jason Tesser - August 13, 2008 9:48 AM Use XSS.strip(url)
this will handle the xss strip for you.
Put the code in the CMSFilter.
In the XSS class add a method that returns a boolean URLHasXSS.
So in the fileter if hasXSS then strip and redirect.
this will handle the xss strip for you.
Put the code in the CMSFilter.
In the XSS class add a method that returns a boolean URLHasXSS.
So in the fileter if hasXSS then strip and redirect.