Submit #1092817: SourceCodester Online Clothing Store 1.0 Cross-Site Scripting (Stored)info

TitleSourceCodester Online Clothing Store 1.0 Cross-Site Scripting (Stored)
DescriptionA 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.
Source⚠️ https://gist.github.com/LMortalv/8d559bc0455be45d03cad77496934c88
User
 Mortal_ (UID 102852)
Submission11/12/2026 18:28 (22 days ago)
Moderation12/04/2026 14:33 (22 days later)
StatusAccepted
VulDB entry449753 [SourceCodester/code-projects Online Clothing Store 1.0 Item Donation Functions_Def.php Donateitem type cross site scripting]
Points20

Might our Artificial Intelligence support you?

Check our Alexa App!