v13.6.0
New XssSanitizerAttribute was added.
How you can use it:
- With bad request when xss was detected:
[XssSanitizer(IsReplace = false)]
public string ParameterName { get; set; }
- With clean xss injection
[XssSanitizer]
public string ParameterName { get; set; }