LPS-45412 Fix xss issue in kb portlet