Code-Projects Simple Laundry System Cross-Site Scripting Vulnerability in delstaffinfo.php

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Code-Projects Simple Laundry System version 1.0. The issue resides in the delstaffinfo.php file, specifically within the Parameter Handler component. The vulnerability is triggered by manipulating the userid parameter, which allows for the injection of malicious script that is executed in the context of the user's browser. This exploitation can be done remotely, without any authentication, although it does require some form of user interaction.

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, session tokens, or other sensitive information, as well as performing actions on behalf of the user, defacing web pages, or redirecting users to malicious sites.

Reproduction

To reproduce this vulnerability, send a request to delstaffinfo.php with a crafted userid parameter that includes script tags. The injected script will be executed in the browser, demonstrating the cross-site scripting vulnerability.

Remediation

It is recommended to encode user input before outputting it to the web page, validate and filter user input to reject or escape potentially malicious content, implement a strict Content Security Policy to control script execution, and set secure and HttpOnly flags for sensitive cookies. Regular security audits can also help identify and address such vulnerabilities.

Added: Apr 1, 2026, 6:19 AM
Updated: Apr 1, 2026, 6:19 AM

Vulnerability Rating

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