提交 #1092817: SourceCodester Online Clothing Store 1.0 Cross-Site Scripting (Stored)信息

标题SourceCodester Online Clothing Store 1.0 Cross-Site Scripting (Stored)
描述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.
来源⚠️ https://gist.github.com/LMortalv/8d559bc0455be45d03cad77496934c88
用户
 Mortal_ (UID 102852)
提交2026-11-12 18時28分 (22 日前)
管理2026-12-04 14時33分 (22 days later)
状态已接受
VulDB条目449753 [SourceCodester/code-projects Online Clothing Store 1.0 Item Donation Functions_Def.php Donateitem type 跨网站脚本]
积分20

Do you want to use VulDB in your project?

Use the official API to access entries easily!