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

Cross Site Scripting Vulnerability in Latest Release #43

Closed
HatBoy opened this issue Mar 14, 2019 · 1 comment
Closed

Cross Site Scripting Vulnerability in Latest Release #43

HatBoy opened this issue Mar 14, 2019 · 1 comment

Comments

@HatBoy
Copy link

HatBoy commented Mar 14, 2019

Hi, I would like to report Cross Site Scripting vulnerability in latest release.

Description:
Cross-site scripting (XSS) vulnerability in app/main/views.py articleDetails() function and app/templates/_article_comments.html 70 line.
Steps To Reproduce:
1.select one article detials, like:http://122.152.231.228:8080/article-detials/4
2.find the article comment or create new comment.
3.Reply the comment, and the nikename is XSS payload.like: <script>alert(1)</script>,then submit.
1
4.Click the reply button, trigger the payload.use this vulnerability, I can stealing admin cookies and more.
2

author by jin.dong@dbappsecurity.com.cn

imlonghao added a commit that referenced this issue Mar 14, 2019
@imlonghao
Copy link
Collaborator

I have fixed this vulnerability by encoding the author name.

Thanks for reporting.

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