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

Stored XSS in Project Name #520

Closed
sowish opened this issue Aug 31, 2018 · 2 comments
Closed

Stored XSS in Project Name #520

sowish opened this issue Aug 31, 2018 · 2 comments

Comments

@sowish
Copy link

sowish commented Aug 31, 2018

Version

~ 1.3.22

Problem

~ Stored XSS in Project Name

如何复现此问题

  1. Register a account in the demo domain http://yapi.demo.qunar.com/
    Then new a project:

    Insert the paload xss"><img src=1 onerror=alert(/xss/)> in project name and set the project as public.
  2. Then put the project to as public group ,such as test2, so every one can view the project
  3. When the someone including the managers & administrators views the operation dynamics of the project, malicious js code will execute.

什么浏览器

~ chrome

什么系统(Linux, Windows, macOS)

~ Linux

@gaoxiaomumu
Copy link
Member

感谢建议

@sowish
Copy link
Author

sowish commented Sep 28, 2018

@gaoxiaomumu Does the issue have been fixed ? If it does, please show me the commit.Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants