Hunting Xpath And XML Query Injection

Hunt XPath and XQuery injection where untrusted input is concatenated into a query expression that is then evaluated against an XML document or an XML database, so the input changes the structure of the query rather than supplying a value. A predicate closed early and rewritten to always be true bypasses an authentication or authorization lookup, and a rewritten path or an injected union walks the document to read nodes the caller was never meant to reach, including blind boolean and out-of-band variants where the response only reflects true or false. Use when an XPath or XQuery string is built from request data. The untrusted input concatenated into the expression is the source, the evaluation of that expression is the sink, and the attacker-controlled query structure is the bug.

UnboundCompute Updated

File contents

UnboundCompute/security-agent-skills/tree/main/skills/hunting-xpath-and-xml-query-injection commit 67bce786a9

Frequently asked questions

npx skillmds@latest add unboundcompute/hunting-xpath-and-xml-query-injection