XML External Entity (XXE) is a vulnerability that occurs when an XML parser processes external entity references without adequate restrictions. An attacker may provide crafted XML that causes the parser to retrieve local files or contact external systems. Any file exposure is generally limited to information the application’s service account can read; XXE does not by itself prove that an attacker gained full system control.
In an attack, a reachable application that accepts XML may be tricked into revealing sensitive files or making network requests from the server. Defenders should disable external entity resolution and restrict unnecessary document type declarations in XML parsers, then patch affected software. They should also review exposed XML-processing interfaces and investigate unusual XML requests or unexpected outbound connections.


