Description
This Spring web application is configured to disable the automatic HTML escaping for Spring tags which may lead to Cross-Site Scripting vulnerabilities.
Remediation
It's recommended to enable HTML escaping for Spring tags. This can be configured from web.xml like in the example below:
<web-app> ... <context-param> <param-name>defaultHtmlEscape</param-name> <param-value>true</param-value> </context-param> ... </web-app>At page level, it is defined as a tag-declaration.
<spring:htmlEscape defaultHtmlEscape="true" />
References
Related Vulnerabilities
WordPress Plugin WP-Live Chat by 3CX Cross-Site Scripting (7.0.06)
WordPress Plugin Duplicator-WordPress Migration Cross-Site Scripting (1.2.28)
WordPress Plugin Widget Control Powered By Everyblock Cross-Site Scripting (1.0.1)
WordPress Plugin Custom Text Selection Colors Cross-Site Scripting (1.0)