Code-Projects Simple Laundry System Cross-Site Scripting Vulnerability

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Code-Projects Simple Laundry System version 1.0. The issue resides in the file '/delmemberinfo.php', where the 'userid' parameter is not properly validated or encoded before being output to users. This flaw allows attackers to inject malicious scripts that are executed in the context of the user's browser, potentially leading to the theft of cookies, session tokens, or other sensitive information.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the user's browser. This could lead to the theft of cookies or session tokens, defacement of web pages, redirection to malicious sites, or unauthorized actions performed on behalf of the user.

Reproduction

To reproduce this vulnerability, send a request to the '/delmemberinfo.php' file with a 'userid' parameter containing a script payload, such as a script tag including JavaScript code. The injected script will be executed in the browser, demonstrating the cross-site scripting vulnerability.

Remediation

It is recommended to implement output encoding for the 'userid' parameter to ensure that user input is not executed as code. Additionally, input validation should be enforced to reject or escape potentially harmful content. Regular security audits can help identify and address such vulnerabilities.

Added: Apr 9, 2026, 1:18 AM
Updated: Apr 9, 2026, 1:18 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.5
remediation
0.0
relevance
5.6
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.