CVE-2025-9651 shafhasan chatbox chat.php sql injection
Remote attackers can exploit SQL injection in chat.php via the user_id parameter to read or modify database contents.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-9651?
CVE-2025-9651 is a medium-severity SQL injection vulnerability in shafhasan chatbox, published on 29 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A vulnerability was found in shafhasan chatbox up to 156a39cde62f78532c3265a70eda12c70907e56f. This impacts an unknown function of the file /chat.php. The manipulation of the argument user_id results in sql injection. The attack may be performed from a remote location. The exploit has been made public and could be used. This product utilizes a rolling release system for continuous delivery, and as such, version information for affected or updated releases is not disclosed.
Which versions are affected by CVE-2025-9651?
How do I fix CVE-2025-9651?
No fix has been published for CVE-2025-9651 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-9651 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-9651 exists.
Sources
Also known as GHSA-mrqq-pj3p-9cgr.