CVE-2025-12226 SourceCodester Best House Rental Management System admin_class.php save_house sql injection
Attackers can perform SQL injection via the house_no argument in the save_house function, potentially reading or modifying database contents.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-12226?
CVE-2025-12226 is a medium-severity SQL injection vulnerability in SourceCodester Best House Rental Management System, published on 27 Oct 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
A vulnerability was found in SourceCodester Best House Rental Management System 1.0. Impacted is the function save_house of the file /admin_class.php. Performing manipulation of the argument house_no results in sql injection. Remote exploitation of the attack is possible. The exploit has been made public and could be used.
Which versions are affected by CVE-2025-12226?
It affects 1 product.
Products include Mayurik Best House Rental Management System.
How do I fix CVE-2025-12226?
No fix has been published for CVE-2025-12226 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-12226 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-12226 exists.
Other vulnerabilities in SourceCodester Best House Rental Management System
Sources
Also known as GHSA-2w2q-r6q7-86fg.