How To Fix Veracode Information Leakage Risk (CWE 611).
--
Improper Restriction of XML External entity reference CWE ID 611. In this tutorial we will learn How to Configure the XML parser to disable external entity resolution.
Description : The product processes an XML document that can contain XML entities with URLs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output. By default, the XML entity resolver will attempt to resolve and retrieve external references. If attacker-controlled XML can be submitted to one…