Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
2.2 M1
Description
Steps to reproduce:
- Create a file "><img src=1 onerror=alert(1)>.jpg locally (any image will do).
- Go to your user profile, click edit on the avatar, select the image and press upload and select.
- Open the avatar editing again and press the delete button on the image.
- Go to the global menu, click on "Page Index" and click on "Deleted Attachments"
Expected result:
- The deleted attachment is displayed with the full filename.
Actual result:
- An alert is displayed and the filename in the attachment column is not fully displayed.
This demonstrates a persistent XSS vulnerability in the deleted attachments list which should be exploitable with just write access to the user profile. As always, this can be used for privilege escalation when a user with, e.g., programming rights visits the deleted attachments by modifying the user profile through the injected JavaScript with the rights of the visiting user.
Attachments
Issue Links
- is caused by
-
XE-584 Attachment trash
- Closed