Cross-site Scripting (XSS) - Reflected in cortezaproject/corteza-server
Reported on
Feb 11th 2022
Description
The logout function doesn't clean/filter value of "back" parameter before reflecting into html code leading to Reflected XSS vulnerability.
Proof of Concept
Visit URL: https://latest.cortezaproject.org/auth/logout?back=%22%3E%3Cscript%3Ealert(origin)%3C/script%3E%3C%22
Poc: https://drive.google.com/file/d/13LU2PhHgD9_82gSxKwoo3266YdpMxWlD/view?usp=sharing
Impact
Reflected XSS. Attacker can steal user's data or phishing attack.