code-projects Intern Membership Management System Cross-Site Scripting Vulnerability

Vulnerability

A reflected cross-site scripting vulnerability has been identified in code-projects Intern Membership Management System version 1.0. The issue arises in the fill_details.php file within the Error Message Handler component. Unsanitized user input from the email field is echoed back in error messages, allowing for the injection of malicious scripts. This vulnerability can be exploited remotely, without any authentication, but requires user interaction.

Impact

Exploitation of this vulnerability allows for the injection of arbitrary JavaScript, which is executed in the context of the user's browser. This could lead to session hijacking, theft of credentials, or manipulation of web page content.

Reproduction

To reproduce this vulnerability, send a POST request to fill_details.php with a script tag embedded in the email field. If the email validation fails, the injected script will be executed in the browser.

Remediation

It is recommended to sanitize output using htmlspecialchars() or equivalent before embedding user-controlled data into HTML responses. Implement strict input validation, enforce a Content Security Policy, use templating engines or frameworks with built-in escaping, and avoid inline HTML construction with raw input.

Added: Jul 31, 2025, 1:18 AM
Updated: Jul 31, 2025, 1:18 AM

Vulnerability Rating

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