Issue
During a penetration test, a Cross Site Scripting Vulnerability may be reported, indicating that you can inject a script into the refererPlid parameter or into the _com_liferay_login_web_portlet_LoginPortlet_mvcRenderCommandName parameter.
Environment
- Liferay DXP 7.3
Resolution
- For both of the parameters mentioned, neither are rendered anywhere in the HTML and when a script is injected into the URL, it does not actually get executed.
- Since no script gets executed or run when injected into the URL with those parameters, this vulnerability can be deemed as a false positive.
- If this issue continues to be flagged in subsequent reports, the specific vulnerability check may need to be updated accordingly.