Stored XSS viva cshtm file upload in star7th/showdoc


Reported on

Mar 14th 2022


This is a bypass of the report: Here the upload functionality allows the malicious files with the extension .cshtm which leads to Stored XSS.

Proof of Concept

1.First, open your text file/notepad and paste the below payload and save it as XSS.cshtm :





<script>alert('XSS_by_Samprit Das')</script>


2.Then go to and login with your account.

3.Afther that navigate to file library (

4.In the File Library page, click the Upload button and choose the XSS.cshtm

5.After uploading the file, click on the check button to open that file in a new tab.



This allows attackers to execute malicious scripts in the user's browser and it can lead to session hijacking, sensitive data exposure, and worse.

We are processing your report and will contact the star7th/showdoc team within 24 hours. 2 years ago
star7th validated this vulnerability 2 years ago
sampritdas8 has been awarded the disclosure bounty
The fix bounty is now up for grabs
star7th marked this as fixed in v2.10.4 with commit e5d575 2 years ago
star7th has been awarded the fix bounty
to join this conversation