Code-Projects Laundry System Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in Code-Projects Laundry System version 1.0. The issue resides in the file '/data/edit_type.php', where the 'type' parameter is not properly validated or sanitized before being saved to the database. This flaw allows attackers to inject malicious scripts that are executed in the context of the user's browser, potentially leading to session hijacking and cookie theft.

Impact

Exploitation of this vulnerability allows for persistent cross-site scripting, where injected scripts are executed in the context of the user.

Reproduction

To reproduce this vulnerability, log into the application and navigate to the 'Edit Laundry Type' form. Submit the 'Laundry Type' field with a script payload, such as an alert tag. After submitting, refresh the page to trigger the execution of the injected script.

Added: Jun 6, 2025, 7:17 PM
Updated: Jun 6, 2025, 7:17 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
7.7
remediation
0.0
relevance
0.2
threat
6.4
urgency
2.9
incentive
1.7

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