How To Fix Veracode Information Leakage Risk (CWE 611).

Gain Java Knowledge
1 min readJun 6, 2022

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…

Gain Java Knowledge

The Java programming language is one of the most popular languages today. Stay up to date with news, certifications, free learning resources and much more.