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 '/modstaffinfo.php' file within the Parameter Handler component. The vulnerability is triggered by manipulating the 'userid' parameter, allowing attackers to inject malicious scripts that are executed in the context of the user's browser. This exploitation can lead to the theft of cookies, session tokens, and other sensitive information, as well as unauthorized actions performed on behalf of the user.

Impact

Exploitation of this vulnerability allows for cross-site scripting, where injected scripts are executed in the context of the victim's browser. This could lead to stealing cookies or session tokens, performing actions on behalf of the victim, defacing web pages, redirecting users to malicious sites, or gaining control over the victim's browser.

Reproduction

To reproduce this vulnerability, send a request to the '/modstaffinfo.php' file with a 'userid' parameter containing a script tag. 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 properly sanitized before being displayed on the web page. Additionally, input validation should be enforced to reject any potentially harmful content, such as script tags or event handlers.

Added: Apr 5, 2026, 5:19 AM
Updated: Apr 5, 2026, 5:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.5
remediation
0.0
relevance
5.3
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.