Tainted flow: 'parse_result_url' from requests.post (line 158, network input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
if download_result: parse_result_url = result.get('result', {}).get('parse_result_url') if parse_result_url: parse_response = requests.get(parse_result_url) parse_response.encoding = 'utf-8' result['parse_result'] = parse_response.json() return result- Confidence
- 90% confidence
- Finding
- The code takes a URL returned by a remote API response and fetches it directly with requests.get() without validating the host, scheme, or expected domain. If that upstream response is compromised, malformed, or attacker-influenced, the client can be induced to make unintended outbound requests, creating an SSRF-style trust-boundary issue and potentially exposing metadata, internal services, or causing retrieval of malicious content.
