CVE-2021-47956 EgavilanMedia PHPCRUD 1.0 SQL Injection via firstname

High 8.8 Published Updated

Unauthenticated attackers can inject SQL code via the firstname parameter to extract sensitive database information from EgavilanMedia PHPCRUD.

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-2021-47956?

CVE-2021-47956 is a high-severity SQL injection vulnerability in EgavilanMedia PHPCRUD, published on 16 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

EgavilanMedia PHPCRUD 1.0 contains an SQL injection vulnerability that allows unauthenticated attackers to manipulate database queries by injecting SQL code through the firstname parameter. Attackers can send POST requests to insert.php with malicious firstname values to extract sensitive database information.

Weakness: CWE-89

Which versions are affected by CVE-2021-47956?

How do I fix CVE-2021-47956?

No fix has been published for CVE-2021-47956 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-2021-47956 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2021-47956 exists.

Sources

Also known as GHSA-3hwx-xp9p-5jv3.

Is CVE-2021-47956 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free