cfscrape Improper Input Validation vulnerability
An issue was discovered in cloudflare-scrape 1.6.6 through 1.7.1. A malicious website owner could craft a page that executes arbitrary Python code against any cfscrape user who scrapes that website. This is fixed in 1.8.0.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | cfscrape | >= 1.6.6, < 1.8.0 | 1.8.0 |
References
- https://github.com/Anorov/cloudflare-scrape/releases/tag/1.8.0
- https://github.com/Anorov/cloudflare-scrape/issues/97
- http://www.securityfocus.com/bid/97191
- https://github.com/advisories/GHSA-5mc5-5j6c-qmf9
- https://nvd.nist.gov/vuln/detail/CVE-2017-7235
- https://github.com/Anorov/cloudflare-scrape
- https://github.com/pypa/advisory-database/tree/main/vulns/cfscrape/PYSEC-2017-7.yaml
- https://web.archive.org/web/20170701161512/http://www.securityfocus.com/bid/97191
- CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20- Platform
- Python (PyPI)
- Package
cfscrape- Disclosed
- 23.03.2017
- Updated
- 11.10.2026 11:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2017-7 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-5mc5-5j6c-qmf9 - CC BY 4.0
Vulnerability history: cfscrape
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
This is the only known vulnerability of this package.
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.