Code-Projects Simple Chat System SQL Injection Vulnerability

Vulnerability

A SQL injection vulnerability has been identified in Code-Projects Simple Chat System version 1.0. The issue arises in the sendMessage.php file, where the application fails to properly validate and sanitize user input in the 'msg' parameter. This oversight allows attackers to manipulate the input, injecting malicious SQL that is executed by the database. The vulnerability can be exploited remotely, and the details of the exploitation are publicly available.

Impact

Exploitation of this vulnerability allows for SQL injection, where an attacker can interfere with the application's database queries. This could lead to unauthorized data access, data manipulation, or in some cases, executing administrative operations on the database.

Reproduction

The vulnerability can be reproduced by sending a POST request to the sendMessage.php file with a crafted 'msg' parameter that includes SQL injection payloads. The application does not require authentication, allowing for exploitation by any user.

Added: May 8, 2026, 2:19 AM
Updated: May 8, 2026, 2:19 AM

Vulnerability Rating

Custom Algorithm
spread
0.3
impact
5.0
exploitability
9.1
remediation
0.0
relevance
7.8
threat
6.4
urgency
2.9
incentive
8.3

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