Cross-site Scripting (XSS) - Generic in kekingcn/kkfileview
Valid
Reported on
Jan 6th 2021
Description
kkFileView
this package is vulnerable to Stored Cross-Site Scripting (XSS)
.
https://github.com/kekingcn/kkFileView
Steps To Reproduce-: (stored XSS)
- install https://github.com/kekingcn/kkFileView locally or https://file.keking.cn/index use demo
- while uploading files for preview use js code in file name paylload used ("><img src=x onerror=alert(222) ~2F>.xml)
POC
Steps To Reproduce-: (reflected XSS)
- install https://github.com/kekingcn/kkFileView locally or https://file.keking.cn/index use demo
- use https://file.keking.cn/onlinePreview?url=f%22%3E%3Cimg%20src=x%20onerror=alert(222)%20~2F%3E
POC
to join this conversation