Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found Reflected XSS On your Site #12

Open
xElkomy opened this issue Jan 20, 2021 · 0 comments
Open

Found Reflected XSS On your Site #12

xElkomy opened this issue Jan 20, 2021 · 0 comments

Comments

@xElkomy
Copy link

xElkomy commented Jan 20, 2021

Hello Security Team today I found Reflected XSS on your own website

Steps:-

1-Got this Url: https://illumina.github.io/PlatinumGenomes/?prefix=
2-Add Payload XSS In Parameter prefix
Done Exploit

Example:-

https://illumina.github.io/PlatinumGenomes/?prefix=1%27%22%3CImg%20Src%20OnError=confirm(%27xElkomy%27)%3E

payload:

1'"<Img Src OnError=confirm('xElkomy')>

Fix:-

Delete the reflect for prefix parameter
Filter input on arrival
Encode data on output
Use appropriate response headers
Content Security Policy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant