refactor: fix xss PROD-2300
refactor: fix xss PROD-2300

arbrandes/edx-platform,arbrandes/edx-platform,angelapper/edx-platform,edx/edx-platform,edx/edx-platform,angelapper/edx-platform,angelapper/edx-platform,angelapper/edx-platform,arbrandes/edx-platform,edx/edx-platform,eduNEXT/edx-platform,arbrandes/edx-platform,eduNEXT/edx-platform,eduNEXT/edx-platform,edx/edx-platform,eduNEXT/edx-platform