XXE is a vulnerability that abuses the feature of XML parsers to parse external entities.
What is an Entity?
In XML, an entity is like a variable. You define it once and use it multiple times.
<!DOCTYPE foo [ <!ENTITY name "John Doe"> ]> <user>&name;</user>
The parser replaces &name; with "John Doe".
External Entities
Entities can also refer to external resources (files, URLs).
<!ENTITY xxe SYSTEM "file:///etc/passwd">