CVE-2026-6159 Details
Description
A vulnerability has been found in code-projects Simple ChatBox up to 1.0. Affected by this vulnerability is an unknown functionality of the file /chatbox/insert.php of the component Endpoint. Such manipulation of the argument msg leads to cross site scripting. The attack may be performed from remote. The exploit has been disclosed to the public and may be used.
A stored cross-site scripting vulnerability has been identified in Code-Projects Simple ChatBox version 1.0. The issue resides in the chat message handling functionality, specifically within the file '/chatbox/insert.php'. The vulnerability allows for the injection of malicious scripts through the 'msg' parameter via an HTTP GET request. User input is not properly validated or sanitized before being stored and later displayed in the chat interface, enabling the execution of injected JavaScript in the context of the user viewing the chat.
Sanitize user input before storing it and implement proper output encoding before rendering data in HTML. Additionally, consider applying a Content Security Policy to mitigate the impact of any executed scripts.
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/Stored%20Cross-Site%20Scripting%20(XSS)%20in%20Simple%20Chatbox%20PHP%20msg%20Parameter.md | [email protected] | |
| https://vuldb.com/submit/796666 | [email protected] | ExploitTechnical DescriptionVendor |
| https://vuldb.com/vuln/357039 | [email protected] | AdvisoryPermission RequiredVendor |
| https://vuldb.com/vuln/357039/cti | [email protected] | Content WallVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
| CWE-94 | Improper Control of Generation of Code ('Code 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