Published On: 14 May 2020
A tricky XSS I found in a Private Program on Modifying Folders Name. The trick was in renaming folders, the application was sanitizing the folder input name upon creation but not upon renaming it.
Malicious user is able to execute Javascript code on the target website.
Step
1
Create a folder and add an xss payload as the folder name.
Payload: <script>alert('xss');</script>
Step
2
No XSS is triggered.
For the same Folder, click Rename, keep the same payload, then click Save and the XSS will be executed ^_^