CVE-2025-50707 Code injection in n/a
Remote attackers can execute arbitrary code in ThinkPHP3 via the index.php component, requiring immediate framework upgrades.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-50707?
CVE-2025-50707 is a critical code injection vulnerability in n/a, published on 5 Aug 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
An issue in thinkphp3 v.3.2.5 allows a remote attacker to execute arbitrary code via the index.php component
Weakness: CWE-94
Which versions are affected by CVE-2025-50707?
It affects 1 product.
Products include Thinkphp Thinkphp.
How do I fix CVE-2025-50707?
No fix has been published for CVE-2025-50707 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-50707 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-50707 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-qpr7-wmfw-r5cr.