Tainted flow: 'url' from input (line 189, user input) → requests.get (network output)
Medium
- Category
- Data Flow
- Content
"""Fetch a URL with error handling.""" url = full_url or urljoin(self.base_url, path) try: resp = requests.get(url, timeout=self.timeout, allow_redirects=True) if resp.status_code == 200: return resp except:- Confidence
- 92% confidence
- Finding
- resp = requests.get(url, timeout=self.timeout, allow_redirects=True)
