CVE-2026-4970 code-projects Social Networking Site Endpoint delete_photos.php sql injection
Remote attackers can exploit SQL injection in the delete_photos.php endpoint 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-2026-4970?
CVE-2026-4970 is a medium-severity SQL injection vulnerability in code-projects Social Networking Site, published on 27 Mar 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
A security flaw has been discovered in code-projects Social Networking Site 1.0. This affects an unknown function of the file delete_photos.php of the component Endpoint. The manipulation of the argument ID results in sql injection. The attack can be executed remotely. The exploit has been released to the public and may be used for attacks.
Which versions are affected by CVE-2026-4970?
How do I fix CVE-2026-4970?
No fix has been published for CVE-2026-4970 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-2026-4970 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-4970 exists.
Sources
Also known as GHSA-mp4q-7j5f-f729.