Judge.me · Report #1398285
Stored XSS in Public Profile Reviews
Validstatus
$250bounty
25upvotes
1 Feb 2023disclosed
How it was found
Summary: Stored XSS found in public profile review in which we can add product details in shop addition options. In description of shop product we can add data URI XSS in HTML format which is led to XSS once user click on HTML. In data URI XSS payload is encrypted in base64
Steps To Reproduce:
- Login with registered username and go to profile.
- After that click on add recommendation and add product details and in it's description add below payload: <a href="data:text/html;charset=utf-7;base64,PHNjcmlwdD5hbGVydCgiWFNTIik8L3NjcmlwdD4=">Click Here</a> { Data URI XSS: data:text/html;charset=utf-7;base64,PHNjcmlwdD5hbGVydCgiWFNTIik8L3NjcmlwdD4= (PHNjcmlwdD5hbGVydCgiWFNTIik8L3NjcmlwdD4=) : <script>alert('XSS')</script> }
- Now save the form by filling rest columns.
- If any one views public profile and click on HTML tag, it will trigger XSS.
Proof Of Concept: Video POC attached
Impact
Attacker can execute XSS in the victim user using judge platform