Submit #845903: kirilkirkov Ecommerce-CodeIgniter-Bootstrap master Cross Site Scriptinginfo

Titlekirilkirkov Ecommerce-CodeIgniter-Bootstrap master Cross Site Scripting
Description## 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
Source⚠️ https://github.com/kirilkirkov/Ecommerce-CodeIgniter-Bootstrap/security/advisories/GHSA-8q62-q8qx-j49g
User
 Anonymous User
Submission06/02/2026 10:05 (1 month ago)
Moderation07/03/2026 19:24 (1 month later)
StatusAccepted
VulDB entry376148 [kirilkirkov Ecommerce-CodeIgniter-Bootstrap up to 49b20f53de2b7ec34e920b11c863f1491d911a04 Hidden REST API Endpoint set title/description cross site scripting]
Points20

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!