CVE-2026-2156
Analyzed Analyzed - Analysis Complete
Cross-Site Scripting in Online Student Management Announcement Module

Publication date: 2026-02-08

Last updated on: 2026-04-29

Assigner: VulDB

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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-02-08
Last Modified
2026-04-29
Generated
2026-05-07
AI Q&A
2026-02-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
fabian online_student_management_system 1.0
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.
CWE-94 The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

[{'type': 'paragraph', 'content': 'CVE-2026-2156 is a stored Cross-Site Scripting (XSS) vulnerability found in the Online Student Management System 1.0 by code-projects, specifically in the Announcement Management Module within the file /admin/announcement/index.php?view=add.'}, {'type': 'paragraph', 'content': "The vulnerability arises because user input submitted through the 'Add Announcement' feature is not properly sanitized or encoded before being stored and later displayed. This allows an authenticated administrator to inject malicious JavaScript code into announcements."}, {'type': 'paragraph', 'content': 'When other users view the compromised announcement page, the malicious script executes in their browsers, potentially leading to harmful effects.'}] [1, 2, 3]


How can this vulnerability impact me? :

This vulnerability can impact users by enabling attackers to execute arbitrary JavaScript code in the browsers of users who view the affected announcements.

  • Session hijacking, allowing attackers to take over user sessions.
  • Credential theft, where attackers can steal login information.
  • Unauthorized actions performed on behalf of victims, potentially compromising user accounts.
  • Broader compromise of user data due to the execution of malicious scripts.

Exploitation requires the attacker to have administrator privileges to inject the malicious code, but once injected, all users who view the announcement are affected.


How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:

I don't know


How can this vulnerability be detected on my network or system? Can you suggest some commands?

[{'type': 'paragraph', 'content': 'This vulnerability can be detected by testing the announcement management functionality, specifically the "Add Announcement" feature in the file `/admin/announcement/index.php?view=add`. Since the vulnerability is a stored Cross-Site Scripting (XSS), detection involves submitting input containing typical XSS payloads and observing if the input is stored and executed when viewing announcements.'}, {'type': 'paragraph', 'content': 'A proof-of-concept payload such as `<img src=x onerror=alert(document.domain)>` can be used to test for the vulnerability.'}, {'type': 'paragraph', 'content': 'Detection requires administrator authentication because only authenticated admins can submit announcements.'}, {'type': 'paragraph', 'content': 'Suggested commands or steps include:'}, {'type': 'list_item', 'content': 'Log in as an administrator to the Online Student Management System.'}, {'type': 'list_item', 'content': 'Navigate to the announcement addition page: `/admin/announcement/index.php?view=add`.'}, {'type': 'list_item', 'content': 'Submit an announcement containing the XSS test payload, for example: `<img src=x onerror=alert(document.domain)>`.'}, {'type': 'list_item', 'content': 'View the announcement page as a regular user or administrator to check if the script executes.'}, {'type': 'paragraph', 'content': 'Additionally, monitoring HTTP requests and responses for unsanitized user input in announcements or scanning the database for stored scripts may help detect exploitation.'}] [1, 2, 3]


What immediate steps should I take to mitigate this vulnerability?

Immediate mitigation steps include:

  • Restrict administrator access to trusted users only, as exploitation requires authenticated admin privileges.
  • Avoid using or disable the announcement addition functionality until a patch or fix is applied.
  • Implement proper input validation and output encoding on the announcement content to neutralize malicious scripts.
  • Sanitize existing announcements in the database to remove any injected malicious scripts.
  • Monitor user activity and logs for suspicious behavior related to announcement creation.

If no official patch is available, consider replacing or upgrading the affected component or product to a secure version.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart