CVE-2013-6919 — phpthumb
Fix: JamesHeinrich/phpThumb@457a37dCVE-2013-6919 is a security vulnerability in james-heinrich/phpthumb. 1 public exploit or proof-of-concept reference is indexed, so weaponization risk is real. A fix is available for james-heinrich/phpthumb — see the affected versions and patch details below.
phpThumb is vulnerable to Server-Side Request Forgery (SSRF)
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
Real-World Exposure
james-heinrich/phpthumbReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
The default configuration of phpThumb before 1.7.12 has a false value for the disable_debug option, which allows remote attackers to conduct Server-Side Request Forgery (SSRF) attacks via the src parameter.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | james-heinrich/phpthumb | all versions | 1.7.12composer require james-heinrich/phpthumb:^1.7.12 |
Affected Products
phpthumbphpthumb_projectResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for james-heinrich/phpthumb, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update james-heinrich/phpthumb to 1.7.12 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2013-6919 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
Frequently Asked Questions
Is CVE-2013-6919 in your dependencies?
Find it across Packagist, including transitive dependencies.