CVE-2026-2156: Cross Site Scripting in code-projects Online Student Management System
A weakness has been identified in code-projects Online Student Management System 1.0. The impacted element is an unknown function of the file /admin/announcement/index.php?view=add of the component Announcement Management Module. This manipulation causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks.
AI Analysis
Technical Summary
CVE-2026-2156 identifies a cross-site scripting (XSS) vulnerability in the code-projects Online Student Management System version 1.0, specifically within the Announcement Management Module located at /admin/announcement/index.php?view=add. The vulnerability arises from insufficient sanitization or validation of user-supplied input in an unknown function of this module, allowing attackers to inject malicious JavaScript code. This injected script can execute in the context of authenticated users who access the vulnerable page, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the user. The attack vector is remote, but exploitation requires the attacker to have authenticated access (PR:H) and user interaction (UI:P), such as tricking a user into clicking a crafted link or submitting malicious input. The CVSS 4.0 base score is 4.8 (medium severity), reflecting the moderate impact on confidentiality and integrity, with no impact on availability. The vulnerability does not require privileges beyond authenticated user access, and no scope change occurs. Although no known exploits are currently active in the wild, public exploit code has been released, increasing the likelihood of exploitation attempts. The absence of patches or official fixes at the time of publication means organizations must implement interim mitigations to reduce risk. This vulnerability is significant for educational institutions using this specific student management system, as it could compromise sensitive student and administrative data.
Potential Impact
The primary impact of CVE-2026-2156 is on the confidentiality and integrity of data within the affected Online Student Management System. Successful exploitation could allow attackers to execute arbitrary scripts in the context of authenticated users, leading to session hijacking, theft of sensitive information such as student records, or unauthorized administrative actions. This could result in data breaches, reputational damage, and potential regulatory non-compliance for educational institutions. The vulnerability does not affect system availability directly but could be leveraged as part of broader attacks. Since exploitation requires authenticated access and user interaction, the attack surface is somewhat limited; however, the availability of public exploit code increases the risk of targeted attacks. Organizations relying on this system without proper mitigations may face increased risk of compromise, especially if user credentials are weak or reused. The impact is particularly critical in environments where student data privacy is strictly regulated.
Mitigation Recommendations
To mitigate CVE-2026-2156, organizations should first seek and apply any official patches or updates from the vendor once available. In the absence of patches, implement strict input validation and output encoding on all user-supplied data within the Announcement Management Module to prevent script injection. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Limit access to the vulnerable module by enforcing strong authentication and role-based access controls, ensuring only trusted administrators can reach the affected page. Educate users about the risks of clicking untrusted links or submitting unverified content. Monitor logs for suspicious activities related to the announcement functionality. Additionally, consider deploying web application firewalls (WAFs) with rules tailored to detect and block XSS payloads targeting this endpoint. Regularly audit and review application code for similar vulnerabilities to prevent future occurrences.
Affected Countries
United States, India, United Kingdom, Canada, Australia, Germany, France, Brazil, South Africa, Malaysia
CVE-2026-2156: Cross Site Scripting in code-projects Online Student Management System
Description
A weakness has been identified in code-projects Online Student Management System 1.0. The impacted element is an unknown function of the file /admin/announcement/index.php?view=add of the component Announcement Management Module. This manipulation causes cross site scripting. The attack is possible to be carried out remotely. The exploit has been made available to the public and could be used for attacks.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-2156 identifies a cross-site scripting (XSS) vulnerability in the code-projects Online Student Management System version 1.0, specifically within the Announcement Management Module located at /admin/announcement/index.php?view=add. The vulnerability arises from insufficient sanitization or validation of user-supplied input in an unknown function of this module, allowing attackers to inject malicious JavaScript code. This injected script can execute in the context of authenticated users who access the vulnerable page, potentially leading to session hijacking, credential theft, or unauthorized actions performed on behalf of the user. The attack vector is remote, but exploitation requires the attacker to have authenticated access (PR:H) and user interaction (UI:P), such as tricking a user into clicking a crafted link or submitting malicious input. The CVSS 4.0 base score is 4.8 (medium severity), reflecting the moderate impact on confidentiality and integrity, with no impact on availability. The vulnerability does not require privileges beyond authenticated user access, and no scope change occurs. Although no known exploits are currently active in the wild, public exploit code has been released, increasing the likelihood of exploitation attempts. The absence of patches or official fixes at the time of publication means organizations must implement interim mitigations to reduce risk. This vulnerability is significant for educational institutions using this specific student management system, as it could compromise sensitive student and administrative data.
Potential Impact
The primary impact of CVE-2026-2156 is on the confidentiality and integrity of data within the affected Online Student Management System. Successful exploitation could allow attackers to execute arbitrary scripts in the context of authenticated users, leading to session hijacking, theft of sensitive information such as student records, or unauthorized administrative actions. This could result in data breaches, reputational damage, and potential regulatory non-compliance for educational institutions. The vulnerability does not affect system availability directly but could be leveraged as part of broader attacks. Since exploitation requires authenticated access and user interaction, the attack surface is somewhat limited; however, the availability of public exploit code increases the risk of targeted attacks. Organizations relying on this system without proper mitigations may face increased risk of compromise, especially if user credentials are weak or reused. The impact is particularly critical in environments where student data privacy is strictly regulated.
Mitigation Recommendations
To mitigate CVE-2026-2156, organizations should first seek and apply any official patches or updates from the vendor once available. In the absence of patches, implement strict input validation and output encoding on all user-supplied data within the Announcement Management Module to prevent script injection. Employ Content Security Policy (CSP) headers to restrict the execution of unauthorized scripts. Limit access to the vulnerable module by enforcing strong authentication and role-based access controls, ensuring only trusted administrators can reach the affected page. Educate users about the risks of clicking untrusted links or submitting unverified content. Monitor logs for suspicious activities related to the announcement functionality. Additionally, consider deploying web application firewalls (WAFs) with rules tailored to detect and block XSS payloads targeting this endpoint. Regularly audit and review application code for similar vulnerabilities to prevent future occurrences.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-02-07T08:28:12.130Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6988a53b4b57a58fa1a3d491
Added to database: 2/8/2026, 3:01:15 PM
Last enriched: 2/23/2026, 9:37:29 PM
Last updated: 3/26/2026, 7:36:14 AM
Views: 73
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.