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 via filename parameter in '/api/storage/upload/PostImage' #316

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

Comments

@tuando243
Copy link

tuando243 commented Jul 7, 2022

Describe the bug
Stored XSS exists in Blogifier 3.0 via filename parameter in '/api/storage/upload/PostImage'.

Steps to reproduce

  1. Login as admin.
  2. Click on 'New post'.
  3. Click on 'Insert Image' and insert the following payload <img src=1 onerror=alert(1)> in filename field.
  4. Click on Save, Publish and View the post.

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