Cross Site Scripting with uploading XML files

82 views Asked by At

I have an application that contains a functionality to upload different types of XML files.

I have implemented cross site scripting detection and prevention in the application using the HTMLSanitizer package.

I have faced a problem that the XSS detection is blocking the system from uploading the XML files. It is not possible to list all the XML tags in order to mark them as safe.

Any solution for this problem?

0

There are 0 answers