Skip to main content
VulnerabilityPublished Updated

CVE-2024-40474: SourceCodester House Rental Management System · Cross-site Scripting

Source CVE Database V5

0

Not known to be exploited · CVSS 8.8 High.

Data as of 26 Oct 2026, 17:16 UTC

CVSS 3.1 base score
8.8High
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 8 Aug 2024

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

AI-suggested

To mitigate CVE-2024-40474, organizations should immediately implement strict input validation and output encoding on the 'edit-cate.php' page and any other affected endpoints. Specifically, all user-supplied inputs must be sanitized to remove or encode characters that can be interpreted as executable code, such as <, >, &, ', and ". Employ context-aware output encoding (e.g., HTML entity encoding) to prevent script execution. Use security libraries or frameworks that provide built-in XSS protection. Implement Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts in browsers. Conduct thorough code reviews and penetration testing to identify and remediate similar vulnerabilities elsewhere in the application. Monitor web server logs and application behavior for suspicious requests or anomalies indicative of exploitation attempts. Educate users about the risks of clicking untrusted links and encourage the use of updated browsers with built-in XSS protections. Finally, maintain regular backups and incident response plans to quickly recover from potential attacks.

Description

A Reflected Cross Site Scripting (XSS) vulnerability was found in "edit-cate.php" in SourceCodester House Rental Management System v1.0.

References

Community reviews

Loading reviews…