title: XElement.Parse && XDocument.Parse are vulnerable to XML injection in c#
body: <p>The below code are detected as XML injection by fortify. Please someone help me to fix the issue.</p>
  <pre><code>LockUserXml(string xml)
  {
     var doc = XDocument.Parse(xml);
     ..
     ..
  }
  
  LocalUserXml(XmlElement root, ExportXmlParameter param)
  {
     XElement rootElement = XElement.Parse(root.OuterXml);
     ..
     ..
     ..
  }
  </code></pre>