Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain admin credentials
-
DeliveryAccess /admin/send_message.php
-
ExploitInject XSS payload in msg parameter
-
ExecutionTarget admin views message
-
PersistExecute JavaScript in victim's session
-
ImpactExfiltrate session tokens or perform unauthorized actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires (1) valid admin-level authentication to access /admin/send_message.php, (2) the ability to submit a crafted msg parameter to the send_message.php endpoint, and (3) a second authenticated user (typically another admin) to view the malicious message within the Chat Interface for the XSS payload to execute. Default configurations of code-projects Chat System 1.0 are vulnerable if the application does not implement additional input validation or output encoding beyond what is described. No special feature configuration is mentioned as required; the vulnerability is present in the standard Chat Interface component. Exploitation is limited to admin-to-admin attacks and cannot be leveraged by unauthenticated remote users or low-privilege accounts. |
| Impact | This vulnerability presents a moderately low severity risk according to CVSS (2.4), but real-world exploitation potential is elevated by several factors. The CVSS vector AV:N/AC:L indicates remote network access with low attack complexity, but the PR:H (high privilege required) restriction significantly limits the attack surface-only admin-level users can craft the malicious message, and a second admin or authorized user must view it for the XSS to execute (UI:R, user interaction required). The EPSS score is not provided, but the presence of public POC code and active exploitation (E:P in the vector) demonstrates that the theoretical vulnerability is moving toward practical abuse. The scope is unchanged (S:U), meaning the attacker gains no privilege escalation beyond the initial admin account; integrity impact is low (I:L), limited to unauthorized modification of what other admins see. The critical limiting factor is PR:H-this is not a widespread threat to unauthenticated users or low-privilege accounts, but a targeted risk within organizations where multiple admins use the same Chat System instance. Organizations relying on admin accounts as trusted parties should assess whether lateral persistence or social engineering via admin messages justifies remediation effort. The combination of low CVSS but public POC suggests this is a real but contained vulnerability: dangerous if you run this specific product, irrelevant if you do not. |
| Exploit ScenarioDerived | An attacker with admin credentials (obtained via credential theft, insider threat, or compromised account) crafts a message containing JavaScript payload in the msg parameter (e.g., msg=<img src=x onerror='fetch(/exfil?cookie='+document.cookie)'>). When a second administrator views the message in the Chat Interface, the script executes in their browser session, potentially exfiltrating session cookies or performing unauthorized actions on behalf of that admin. The public POC available on GitHub demonstrates this exact workflow, lowering the barrier for non-expert attackers. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 27, 2026
Stored cross-site scripting (XSS) in code-projects Chat System 1.0 allows high-privilege remote attackers to inject malicious scripts via the msg parameter in /admin/send_message.php, affecting the Chat Interface component. The vulnerability requires admin-level authentication and user interaction (viewing the crafted message), but publicly available exploit code exists and the issue is actively being leveraged. With a CVSS score of 2.4, the impact is limited to integrity violations with no confidentiality or availability loss, but the presence of public POC and active exploitation elevates practical risk despite low severity metrics.
RemediationAI
Apply input validation and output encoding to the msg parameter in /admin/send_message.php. At minimum, use PHP's htmlspecialchars() function on all output that renders user input: htmlspecialchars($msg, ENT_QUOTES, 'UTF-8'). Additionally, implement Content Security Policy (CSP) headers to block inline script execution: Content-Security-Policy: default-src 'self'; script-src 'self';. If a vendor patch is available from code-projects.org, upgrade the Chat System immediately; however, no specific patched version is identified in available data. As a temporary compensating control, restrict /admin/send_message.php access to a whitelist of trusted IP addresses and disable the message feature if it is not actively required. Validate and sanitize all inputs server-side, not relying on client-side filtering. Instruct administrators to avoid viewing messages from untrusted sources or to use a separate administrative account for sensitive operations until a patch is deployed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability resides in the Chat Interface component of code-projects Chat System, specifically in the /admin/send_message.php file, which processes the msg parameter without proper input validation or output encoding. This is a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) instance where user-controlled input flows directly into the application's response or storage without sanitization. The PHP application fails to escape HTML special characters or apply content security policies before rendering the msg parameter in the admin interface, allowing attackers to embed JavaScript code that executes in the context of other administrators' sessions. The CPE indicates the vulnerability affects all versions of code-projects Chat System (version wildcard), suggesting the flaw may be endemic to the product line.
Know when Chat System gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
6DescriptionCVE.org
A vulnerability was detected in code-projects Chat System 1.0. This affects an unknown function of the file /admin/send_message.php of the component Chat Interface. The manipulation of the argument msg results in cross site scripting. The attack may be launched remotely. The exploit is now public and may be used.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Chat System
View allSQL injection in code-projects Chat System 1.0 allows remote authenticated attackers to manipulate the cid parameter in
SQL injection in Chat System 1.0 allows remote attackers to manipulate database queries via the 'msg' parameter of /user
SQL injection in code-projects Chat System 1.0 allows remote attackers to execute arbitrary SQL commands via the ID para
SQL injection in Chat System 1.0 through the ID parameter of /user/fetch_member.php allows remote authenticated attacker
SQL injection in code-projects Chat System 1.0 allows authenticated remote attackers to manipulate backend database quer
SQL injection in Chat System 1.0 allows authenticated remote attackers with low privileges to manipulate backend databas
A vulnerability was found in code-projects Chat System 1.0 and classified as critical.php. Rated medium severity (CVSS 5
A vulnerability has been found in code-projects Chat System 1.0 and classified as critical. Rated medium severity (CVSS
A vulnerability, which was classified as problematic, was found in code-projects Chat System 1.0. Rated medium severity
A vulnerability, which was classified as problematic, has been found in code-projects Chat System 1.0. Rated medium seve
A vulnerability classified as critical was found in code-projects Chat System 1.0. Rated medium severity (CVSS 5.3), thi
A vulnerability classified as problematic has been found in code-projects Chat System 1.0. Rated medium severity (CVSS 5
EUVD-2026-25774
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB