| 标题 | aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Basic Cross Site Scripting |
|---|
| 描述 | The affected component is `controllers/pic.php` method `uploadFile()`. User-controlled POST fields `outerSrc` and `selectPhoto` are read via `IReq::get()` without `IFilter` encoding and concatenated into a JavaScript response string: `updatePic($specIndex,'$fileName')`. Because `Pic` is unauthenticated, any remote attacker can force a victim browser that loads the response (or an embedded admin dialog) to execute arbitrary JavaScript, leading to session theft of administrative cookies (default safe storage is cookie-based) and full account takeover. |
|---|
| 来源 | ⚠️ https://github.com/aircheng-org/iWebShop-5/issues/4 |
|---|
| 用户 | labixiaoxin (UID 99921) |
|---|
| 提交 | 2026-07-29 19時56分 (1 月前) |
|---|
| 管理 | 2026-09-08 11時31分 (1 month later) |
|---|
| 状态 | 已接受 |
|---|
| VulDB条目 | 399759 [aircheng-org iWebShop-5 直到 5.15 controllers/pic.php uploadFile outerSrc/selectPhoto 跨网站脚本] |
|---|
| 积分 | 20 |
|---|