Solved
http://www.abc.com/search- results.html?search-site=test& locale=en_US%22%3E%3Csvg+src% 3DX+onload%3D%22prompt%28% 27xss%27%29
I see a javacript alert coming up on the browser when i feed the above url due to XSS (cross-site scripting) vulnerability due to improper
handling of provided URL parameters .please let me know how can slove this particular issue
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
XSS is not something dispatcher can protect you against in general. XSS protection must be built into the code which produces the output being returned in response to requests from the users browser. E.g. in JSPs the XSSAPI (https://docs.adobe.com/docs/en/cq/5-6-1/javadoc/com/adobe/granite/xss/XSSAPI.html) should be used to filter or encode any values being included in the output if they come from the request, the JCR, or any external data source.
-Rob
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.