Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Stored Cross Site Scripting Allows to hijack the sessions #163
Summary : Stored Cross Site Scripting Vulnerability leads to hijack the users sessions
About Vulnerability :
Stored attacks are those where the injected script is permanently stored on the target servers, such as in a database, in a message forum, visitor log, comment field, etc. The victim then retrieves the malicious script from the server when it requests the stored information.
Attackers can execute scripts in a victim’s browser to hijack user sessions, deface web sites, insert hostile content, redirect users, hijack the user’s browser using malware, etc.
For more reference :
Steps to Reproduce : (POC)
Login as any user and add a document.
When you are adding a document. Give the name
then upload it.
Don't trust any user input and use proper sanitation
for more reference : https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet