LPS-45412 Fix XSS issue in kb portlet