Sourcecodester · Sourcecodester Best House Rental Management System · CVE-2024-7812
**Name of the Vulnerable Software and Affected Versions**
SourceCodester Best House Rental Management System version 1.0
**Description**
A problematic vulnerability was found in the SourceCodester Best House Rental Management System. This issue affects the file `/rental 0/rental/ajax.php?action=save tenant` of the component POST Parameter Handler. The manipulation of the `lastname` argument leads to cross-site scripting. The attack can be initiated remotely. The exploit has been disclosed to the public and may be used.
**Recommendations**
For version 1.0, consider disabling the `lastname` argument in the `/rental 0/rental/ajax.php?action=save tenant` endpoint until a patch is available. Restrict access to this endpoint to minimize the risk of exploitation. Avoid using the `lastname` parameter in this affected API endpoint until the issue is resolved. At the moment, there is no information about a newer version that contains a fix for this vulnerability.