CVE-2026-6161 Details
Description
A vulnerability was determined in code-projects Simple ChatBox up to 1.0. This affects an unknown part of the file /chatbox/insert.php of the component Endpoint. Executing a manipulation of the argument msg can lead to sql injection. It is possible to launch the attack remotely. The exploit has been publicly disclosed and may be utilized.
A SQL injection vulnerability has been identified in Code-Projects Simple ChatBox in PHP, specifically in version 1.0. The issue resides in the message submission feature, within the file '/chatbox/insert.php'. The vulnerability allows remote attackers to manipulate the 'msg' parameter in HTTP POST requests, injecting malicious SQL payloads that are executed by the database. This exploitation is possible due to the application's failure to properly validate, sanitize, or parameterize user input before incorporating it into SQL queries.
It is recommended to use prepared statements for database queries to prevent SQL injection. Validate and sanitize user input, and apply the principle of least privilege by using restricted database permissions.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 13, 2026CISA-ADP
Assessed Apr 13, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://code-projects.org/ | [email protected] | Vendor |
| https://github.com/ahmadmarz10-hub/CVEsMarz/blob/main/SQL%20Injection%20in%20Simple%20Chatbox%20PHP%20msg%20Parameter.md | [email protected] | |
| https://vuldb.com/submit/796697 | [email protected] | ExploitTechnical Description |
| https://vuldb.com/vuln/357041 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/357041/cti | [email protected] |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-74 | Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection') | [email protected] |
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Code-Projects Simple ChatBox | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 13, 2026 | New CVE Received | [email protected] |
Volerion