Skip to content

Fix file upload XSS#534

Merged
jmattheis merged 1 commit into
masterfrom
fix-xss
Dec 28, 2022
Merged

Fix file upload XSS#534
jmattheis merged 1 commit into
masterfrom
fix-xss

Conversation

@jmattheis
Copy link
Copy Markdown
Member

The application image file upload allowed authenticated users to upload malious .html files. Opening such a file like

https://push.gotify.net/image/ViaxrjzNowdgL-xnEfVV-Ggv5.html

would allow the attacker to execute client side scripts.

The application image upload will now only allow the upload of files
with the following extensions: .gif, .png, .jpg and .jpeg.

The application image file upload allowed authenticated users to upload
malious .html files. Opening such a file like

https://push.gotify.net/image/ViaxrjzNowdgL-xnEfVV-Ggv5.html

would allow the attacker to execute client side scripts.

The application image upload will now only allow the upload of files
with the following extensions: .gif, .png, .jpg and .jpeg.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant