提交 #845903: kirilkirkov Ecommerce-CodeIgniter-Bootstrap master Cross Site Scripting信息

标题kirilkirkov Ecommerce-CodeIgniter-Bootstrap master Cross Site Scripting
描述## Description Ecommerce-CodeIgniter-Bootstrap exposes a hidden REST API endpoint that allows unauthenticated product creation. Because REST authentication and API key checks were disabled, an anonymous attacker could submit product data through `/index.php/api/product/set`. The same flow allows attacker-controlled product fields, including title and description values, to be stored and later rendered in frontend product pages without sufficient output encoding. This produces stored cross-site scripting when a victim opens the created product page. ## Technical Details - Affected component: `application/config/routes.php`, `application/config/rest.php`, `application/controllers/Api/Products.php`, `application/models/Api_model.php` - Vulnerable endpoint: `POST /index.php/api/product/set` - Rendering sinks: product pages/templates, including `application/views/templates/wind2026/view_product.php` and header templates - Weakness: `CWE-79`, `CWE-306` - CVSS v3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N` - Severity: `Moderate` - Published: `2026-05-20` - Patched version / fix commit: `d9785f995da77bdc62fb2d34bad5f7a162c9ad23` - GitHub Security Advisory: https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/security/advisories/GHSA-8q62-q8qx-j49g - Vendor fix: https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/commit/d9785f995da77bdc62fb2d34bad5f7a162c9ad23
来源⚠️ https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/security/advisories/GHSA-8q62-q8qx-j49g
用户
 Anonymous User
提交2026-06-02 10時05分 (1 月前)
管理2026-07-03 19時24分 (1 month later)
状态已接受
VulDB条目376148 [kirilkirkov Ecommerce-CodeIgniter-Bootstrap 直到 49b20f53de2b7ec34e920b11c863f1491d911a04 Hidden REST API Endpoint set title/description 跨网站脚本]
积分20

Want to stay up to date on a daily basis?

Enable the mail alert feature now!