提交 #908926: aircheng-org iWebShop-5 eb7f7eb1c6ebf39a54f943d8e0aefe96a3b8ff54 Basic Cross Site Scripting信息

标题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

Do you want to use VulDB in your project?

Use the official API to access entries easily!