Dynamic Request Target
Medium
- Category
- Server-Side Request Forgery
- Content
* user input directly into query strings. */ export async function gql(parsed, query, variables = {}) { const resp = await fetch(`https://${parsed.host}/graphql`, { method: "POST", headers: { "Content-Type": "application/json",- Confidence
- 60% confidence
- Finding
- Request target host is built from a dynamic or untrusted value. If the host is attacker-influenced, this enables SSRF to arbitrary internal or metadata endpoints.
