제출 #912673: linlinjava litemall v1.5.0 through v1.8.0; source through a1ef964a Cross Site Scripting정보

제목linlinjava litemall v1.5.0 through v1.8.0; source through a1ef964a Cross Site Scripting
설명A stored cross-site scripting vulnerability affects linlinjava litemall releases v1.5.0, v1.6.0, v1.7.0, v1.8.0, and current source through commit a1ef964a718b7277925b19ea26afe78ea3a1d325. A backend user with admin:topic:create or admin:topic:update permission can persist attacker-controlled content through POST /admin/topic/create or POST /admin/topic/update. AdminTopicController.validate only checks that LitemallTopic.content is non-empty. LitemallTopicService.add and updateById then store the value without HTML sanitization or output encoding. The public GET /wx/topic/detail endpoint returns the stored topic object. Its @LoginUser parameter is optional. litemall-vue/src/views/items/topic/index.vue inserts topic.content at line 4 with v-html. Consequently an anonymous visitor opening the affected topic page causes the stored markup to be parsed in the litemall frontend origin. The initialization SQL defines an enabled Promotion Administrator role with topic create and update permissions. Exploitation therefore does not require the super-administrator account, and the topic editor can be separated from the anonymous victim. This is not self-XSS. Harmless cross-user triggering was confirmed in an authorized local test environment. No executable payload is included. CWE-79. Suggested CVSS v3.1: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N (5.4). Product source: https://github.com/linlinjava/litemall Public vendor report: https://gitee.com/linlinjava/litemall/issues/IK5SUU No public record was found for this exact topic.content to /wx/topic/detail to v-html chain. GitHub Issue #567 concerns upload and public serving of active files, with a different input, endpoint, storage object, and fix location. This topic issue is also independent from the goods.detail chain because it uses a different model field, write controller, default role, public route, version lower bound, and fix location.
원천⚠️ https://gitee.com/linlinjava/litemall/issues/IK5SUU
사용자
 JunRoinxxX (UID 100281)
제출2026. 08. 01. PM 12:27 (1 월 ago)
모더레이션2026. 09. 12. PM 06:03 (1 month later)
상태수락
VulDB 항목403154 [linlinjava litemall 1.5.0/1.6.0/1.7.0/1.8.0 Admin Topic index.vue AdminTopicController.validate 크로스 사이트 스크립팅]
포인트들20

Do you need the next level of professionalism?

Upgrade your account now!