0 Replies Latest reply on Apr 5, 2016 7:16 PM by Jestina.Nancy

    XSS Servlet Filter to secure Java Web Application

    Jestina.Nancy

      I am trying to write a Servlet Filter to filter or block API calls with parameters and payload containing vulnerable data like XSS. I came accross below implementation which uses ESAPI library.

       

      https://www.javacodegeeks.com/2012/07/anti-cross-site-scripting-xss-filter.html

       

      Is there any other efficient way to achieve this validation ?