My erp is being really tested for vulnerabilities.

I have fixed all but one...

they uploaded an .xml file with the following code:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "">

<svg version="1.1" baseProfile="full" xmlns="">
   <polygon id="triangle" points="0,0 0,50 50,0" fill="#009900" stroke="#004400"/>
   <script type="text/javascript">
Is there a way I can also check for malicious code inside uploaded .xml's?