CVE-2025-11474 SourceCodester Hotel and Lodge Management System edit_booking.php sql injection

Medium 5.3 Published Updated

Remote attackers can perform SQL injection via the Name parameter in edit_booking.php, potentially reading or modifying 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-11474?

CVE-2025-11474 is a medium-severity SQL injection vulnerability in SourceCodester Hotel and Lodge Management System, published on 8 Oct 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A vulnerability was found in SourceCodester Hotel and Lodge Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /edit_booking.php. Performing manipulation of the argument Name results in sql injection. The attack can be initiated remotely. The exploit has been made public and could be used.

Weakness: CWE-89, CWE-74

Which versions are affected by CVE-2025-11474?

It affects 1 product.

Products include Nikhil-Bhalerao Hotel and Lodge Management System.

How do I fix CVE-2025-11474?

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

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

Sources

Also known as GHSA-mj2r-j58c-8hfx.

Is CVE-2025-11474 in your software?

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

Check your SBOMs for free