CVE-2024-43018 SQL injection in n/a

Medium 6.4 Published Updated

An attacker can exploit SQL injection in Piwigo's user list search 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-2024-43018?

CVE-2024-43018 is a medium-severity SQL injection vulnerability in Piwigo Piwigo, published on 29 Jul 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Piwigo 13.8.0 and below is vulnerable to SQL Injection in the parameters max_level and min_register. These parameters are used in ws_user_gerList function from file include\ws_functions\pwg.users.php and this same function is called by ws.php file at some point can be used for searching users in advanced way in /admin.php?page=user_list.

Weakness: CWE-89

Which versions are affected by CVE-2024-43018?

It affects 1 product.

Products include Piwigo Piwigo.

How do I fix CVE-2024-43018?

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

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

Public exploit code: 1 proofs of concept on GitHub.

All Piwigo Piwigo vulnerabilities

Sources

Also known as GHSA-c4c3-h4wc-4hx3.

Is CVE-2024-43018 in your software?

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

Check your SBOMs for free