| Titre | SourceCodester Online Clothing Store 1.0 Cross-Site Scripting (Stored) |
|---|
| Description | A vulnerability was found in SourceCodester Online Clothing Store 1.0. It has been classified as problematic. This vulnerability affects the file Donate-Items.php as the entry point and the files Edit-Items.php, View-Items.php, and view-donations.php as sinks. The manipulation of the arguments DESCRIPTION, TYPE, BRAND, SIZE, GENDER, and ITEM_CONDITION leads to stored cross-site scripting. User-supplied values are stored in the item table without HTML escaping and echoed directly into HTML pages. The TYPE field is concatenated inside a single-quoted img src attribute, allowing an attacker to break out of the attribute and inject an event handler. An unauthenticated remote attacker can submit a malicious donation and achieve script execution in the browser of any user or administrator who opens the pending-review list or item listing. The exploit has been disclosed to the public and may be used.
This issue is distinct from CVE-2020-28139, which covers cross-site scripting via the Offer Detail field in offer.php. The present report covers a different entry point (Donate-Items.php), different stored fields, different sink pages, and a distinct attribute-context vector. The root causes and remediation paths are different. |
|---|
| La source | ⚠️ https://gist.github.com/LMortalv/8d559bc0455be45d03cad77496934c88 |
|---|
| Utilisateur | Mortal_ (UID 102852) |
|---|
| Soumission | 12/11/2026 18:28 (il y a 22 jours) |
|---|
| Modérer | 04/12/2026 14:33 (22 days later) |
|---|
| Statut | Accepté |
|---|
| Entrée VulDB | 449753 [SourceCodester/code-projects Online Clothing Store 1.0 Item Donation Functions_Def.php Donateitem type cross site scripting] |
|---|
| Points | 20 |
|---|