CVE-2026-7222 Details
Description
A vulnerability was determined in code-projects Coaching Management System 1.0. Affected by this vulnerability is an unknown functionality of the file /cims/modules/student/complaint.php of the component Complaint Form Page. This manipulation of the argument Complaint causes cross site scripting. The attack can be initiated remotely. The exploit has been publicly disclosed and may be utilized.
A stored cross-site scripting vulnerability has been identified in Code-Projects Coaching Management System version 1.0. The issue resides in the complaint form page, specifically within the file '/cims/modules/student/complaint.php'. This vulnerability allows low-privileged users, such as students, to inject malicious JavaScript that is stored and executed when the complaint is viewed by higher-privileged users, like administrators or teachers. Additionally, the reply functionality is also vulnerable, enabling cross-role exploitation. The lack of proper input sanitization and output encoding, combined with missing security controls on session cookies, facilitates this vulnerability, leading to session hijacking and unauthorized access to administrative accounts.
It is recommended to sanitize and validate all user inputs, encode outputs using appropriate functions such as htmlspecialchars() in PHP, and set the HttpOnly and Secure flags on session cookies. Implementing a Content Security Policy (CSP) is also advised.
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 28, 2026CISA-ADP
Assessed Apr 28, 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] | Not ApplicableVendor |
| https://github.com/Xmyronn/Stored-Cross-Site-Scripting-XSS-in-Coaching-Management-System.git | [email protected] | ExploitTechnical Analysis |
| https://vuldb.com/submit/802264 | [email protected] | ExploitIssue TrackingTechnical Description |
| https://vuldb.com/vuln/359822 | [email protected] | AdvisoryExploitPartial Content |
| https://vuldb.com/vuln/359822/cti | [email protected] | Content Wall |
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 Coaching Management System | All versions |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 29, 2026 | Data Remediation | [email protected] |
| Apr 28, 2026 | New CVE Received | [email protected] |
Volerion