[TECHNICAL SUPPORT] LPS-32031 Fixed XSS issue in Related Asset Selection and Asset Selectionin Asset Publisher's configuration

Hi Dani,

I know you have a lot to do, but this relates to LPS-31642 which is reviewed by you. Actually the the related LPP is mentioned the errors I fixed in this pr but I haven't realized that they are not solved by the other fix and as they are related to asset selection not for membership management, I put them to another LPS.

Regards,
Vili