Cross-site scripting in Synapse - CVE-2021-21332
Published: March 25, 2021 / Updated: May 4, 2026
Synapse
Matrix.org
Description
The vulnerability allows a remote attacker to execute arbitrary script in the victim's browser.
The vulnerability exists due to cross-site scripting in the password reset endpoint when handling password reset token submission. A remote attacker can send a specially crafted request to execute arbitrary script in the victim's browser.
The impact may include access to cookies and other browser data, CSRF exposure, and access to other resources served on the same domain or parent domains.