CVE-2026-0642

2.4 LOW

📋 TL;DR

This vulnerability allows attackers to inject malicious scripts via the Name parameter in the /app/complaint.php file of House Rental and Property Listing 1.0. When exploited, it enables cross-site scripting attacks that can steal user sessions, deface websites, or redirect users to malicious sites. Only users of this specific software version are affected.

💻 Affected Systems

Products:
  • House Rental and Property Listing
Versions: 1.0
Operating Systems: All
Default Config Vulnerable: ⚠️ Yes
Notes: Only affects installations with the /app/complaint.php endpoint accessible.

📦 What is this software?

⚠️ Risk & Real-World Impact

🔴

Worst Case

Attackers steal administrator credentials, take full control of the application, and compromise all user data including personal information and payment details.

🟠

Likely Case

Attackers inject malicious scripts that steal user session cookies, leading to account takeover and potential data theft from logged-in users.

🟢

If Mitigated

With proper input validation and output encoding, the attack fails and users experience no impact beyond seeing sanitized input.

🌐 Internet-Facing: HIGH
🏢 Internal Only: LOW

🎯 Exploit Status

Public PoC: ⚠️ Yes
Weaponized: LIKELY
Unauthenticated Exploit: ⚠️ Yes
Complexity: LOW

Public exploit available on GitHub, requires no authentication, and simple HTTP requests can trigger the vulnerability.

🛠️ Fix & Mitigation

✅ Official Fix

Patch Version: Unknown

Vendor Advisory: None found

Restart Required: No

Instructions:

No official patch available. Consider implementing input validation and output encoding in /app/complaint.php or migrating to alternative software.

🔧 Temporary Workarounds

Input Validation Filter

all

Add server-side validation to sanitize the Name parameter before processing

Edit /app/complaint.php and add: $name = htmlspecialchars($_POST['Name'], ENT_QUOTES, 'UTF-8');

WAF Rule

all

Implement web application firewall rules to block XSS payloads in the Name parameter

ModSecurity rule: SecRule ARGS:Name "@detectXSS" "id:1001,phase:2,deny,status:403"

🧯 If You Can't Patch

  • Disable or restrict access to /app/complaint.php endpoint
  • Implement Content Security Policy headers to mitigate script execution

🔍 How to Verify

Check if Vulnerable:

Test by submitting <script>alert('XSS')</script> in the Name field of /app/complaint.php and check if script executes

Check Version:

Check software documentation or configuration files for version information

Verify Fix Applied:

Submit same XSS payload and verify script does not execute and input is properly encoded in output

📡 Detection & Monitoring

Log Indicators:

  • HTTP POST requests to /app/complaint.php with script tags in parameters
  • Unusual length or character patterns in Name parameter

Network Indicators:

  • HTTP traffic containing <script> tags in POST data to vulnerable endpoint

SIEM Query:

source="web_logs" AND uri="/app/complaint.php" AND (request_body LIKE "%<script>%" OR request_body LIKE "%javascript:%")

🔗 References

📤 Share & Export