إرسال #918487: Amir Sanni Mini Inventory and Sales Management System 1.0 Cross Site Scripting (persistent)المعلومات

عنوانAmir Sanni Mini Inventory and Sales Management System 1.0 Cross Site Scripting (persistent)
الوصفThe Mini Inventory and Sales Management System by Amir Sanni is vulnerable to stored Cross-Site Scripting (XSS) via the Item Name parameter in the Items management module. Root Cause: 1. No input sanitization - The itemName field in Items.php only validates length and uniqueness, with no strip_tags or XSS filtering (global_xss_filtering is FALSE in config.php). 2. No output encoding - itemslisttable.php outputs the item name directly into HTML using bare <?= without htmlspecialchars(), allowing the raw payload to be rendered in browsers. Proof of Concept: 1. Log in as [email protected] / demopass 2. Navigate to Items > Add Item 3. Enter <img src=x onerror=alert(1)> as the Item Name 4. Save - the payload executes immediately on the items list page and also triggers in transaction listings, receipts, and event logs. Impact: Session hijacking, account takeover via credential harvesting, privilege escalation through CSRF-like actions on behalf of victims, and data exfiltration - all achievable with a single injected payload that persists in the database. This vulnerability is distinct from CVE-2024-42550, which affected the email template Title field. The code paths and affected files are entirely different. Affected files: - application/controllers/Items.php (input) - application/views/items/itemslisttable.php (output) - application/views/transactions/transtable.php (output) - application/views/transactions/transreceipt.php (output)
المستخدم
 stephen30 (UID 100432)
ارسال07/08/2026 09:15 AM (2 أشهر منذ)
الاعتدال27/09/2026 11:14 AM (2 months later)
الحالةتمت الموافقة
إدخال VulDB410856 [amirsanni mini-inventory-and-sales-management-system حتى 81bf0b55f5933f3b0dbb1583204a612e06605b95 Items Management Items.php itemName البرمجة عبر المواقع]
النقاط17

Do you know our Splunk app?

Download it now for free!