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 on upload files. #317

Closed
tuando243 opened this issue Jul 7, 2022 · 1 comment
Closed

Stored XSS on upload files. #317

tuando243 opened this issue Jul 7, 2022 · 1 comment

Comments

@tuando243
Copy link

Describe the bug
The web application allows image upload and attacker was able to upload a file containing HTML content. XSS payload can be injected in the file uploaded.

Steps to reproduce

  1. Login as admin.
  2. Click on 'New post'.
  3. Click on 'Insert Image' and upload .html file with xss payload inside.
  4. View the file with path in response.

1

2

3

@rxtur
Copy link
Collaborator

rxtur commented Jul 10, 2022

Fixed with commit 97fcdac

@rxtur rxtur closed this as completed Jul 10, 2022
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