- Online Eyewear Shop Website: 1.0
- Vulnerability Type: Stored Cross-Site Scripting (XSS)
- Severity: HIGH
- Status: Unpatched
/admin/?page=inventory/view_inventory&id=2
A stored XSS vulnerability exists in the Online Eyewear Shop Website version 1.0. This flaw occurs in the product inventory detail section, where stock history entries are stored. Malicious users can inject persistent XSS payloads into this field, potentially allowing attackers to steal session cookies, execute malicious scripts, and compromise both other users and administrators.
An attacker can inject the following malicious script into the stock history field:
<script>alert('XSS');</script>Once the script is stored in the system, it will execute whenever the affected page is accessed, leading to the potential theft of sensitive information or other harmful actions.


