Code-Projects Simple Laundry System Cross-Site Scripting Vulnerability in Modify.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 modify.php file within the Parameter Handler component. The vulnerability is triggered by manipulating the firstName 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 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 user, defacing web pages, redirecting users to malicious sites, or gaining control over the user's browser.

Reproduction

To reproduce this vulnerability, send a request to the modify.php file with a crafted firstName 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 implement output encoding for user inputs, particularly for the firstName parameter, to prevent script injection. Additionally, input validation should be enforced to reject or escape potentially harmful content before it is processed.

Added: Mar 26, 2026, 8:20 AM
Updated: Mar 26, 2026, 8:20 AM

Vulnerability Rating

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