cspshivam/playground
Modern Level 7 / 14 Hard
← All labs

XML External Entity (XXE)

A feedback endpoint parses XML you submit with entity resolution left on. Coerce the parser into reading a local file.

XML feedback endpoint

Feedback is submitted as an XML document; the server parses it and echoes your <message> back. The endpoint reads the raw request body when it arrives as application/xml.

Expected body (Content-Type: application/xml)

<?xml version="1.0"?> <feedback><message>Great labs!</message></feedback>

This box wraps your message into a fixed, escaped document. Controlling the XML itself — to declare an entity — means sending the raw body yourself.

This is an isolated, intentionally-vulnerable sandbox. Data here is fake and scoped to you. The rest of CSPSHIVAM Playground is not part of the target.