I'm using the Rich Text Editor in a client side WASM application to allow for rich user comments.
Whilst there is built in sanitization on the control, the content is essentially untrusted because a malicious user could craft their own post request. Do you have a function I can use on the server that can sanitize the posted HTML?
Hi Bob,
We have still validating on the reported query. We will update you the further details in two business days on or before 23rd December 2021.
Regards,
Vinitha
Hi, whilst the feature request you've created does sound useful, it's not actually what I was asking about.
The idea is that I am using a blazor WASM application to allow users to add content to support tickets. Kind of similar behaviour to the way that your forums engine works. The responses are then displayed on the page.
Whilst I can use the built in sanitizer in the control to make sure the HTML is safe before posting to the server we are worried about malicious actors.
The request is posted back to an ASP NET Core controller to save the post. A malicious actor could craft a custom request that contains bad content and post that to the same server endpoint. What I'm asking is if there is any Server Side code you have that I can use to validate and clean the post request to close this potential security hole.