There is web project with lost <%=%>
in it, which are not XSS safe! Is there any approach which can be used to fix them all?
If you have jsp web projects with lots of %{} you can change the EL resolver functionality to override the default ELResolver and make ${}
XSS safe. Please see https://github.com/pukkaone/webappenhance
Is there a same way for <%=>
?! Can we override the functionality of <%=%>
the same way as ${}
??
I see some guides at Java 5 HTML escaping To Prevent XSS.