XSS attack vector with HEX encoding

If a site is vulnerable to a XSS attack vector when injected in HEX encoding, then what is the remediation step?
I’m a newbie. Thanks in advance .

Hi @flying_dutch,
if possible, give more context.
Thanks.