java - How to prevent XSS vulnerability with Struts -
We need to add anti-xss support to our Straits app. In particular, the architect requires that all user inputs should be "synthetized" before storing in DB. As I would not want to change the square wheel again, which one can I use the Java Library for? And where to put it? Ideally this configuration should be (to check the input field, not all of them in the request) and my first idea is to quickly get the Straits Validator.
Thank you in advance Lluis
I recommend you check OWASP this one year Has been under development for more than, and its 2.0 is coming for release.
To avoid the stored values in the database, check the encoder. Encoder SQL () method.
Note: My understanding is that the functionality provided by older projects like Stinger and CSRF gear is being included in ESAPI.
Comments
Post a Comment