ADVISORIES

Vulnerability

CVE-2021-21332

Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.27.0, the password reset endpoint served via Synapse was vulnerable to cross-site scripting (XSS) attacks. The impact depends on the configuration of the domain that Synapse is deployed on, but may allow access to cookies and other browser data, CSRF vulnerabilities, and access to other resources served on the same domain or parent domains. This is fixed in version 1.27.0.

4 advisories report this vulnerability, across 3 ecosystems.

Medium severity All PyPI 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2021-21332

    Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.27.0, the password reset…

    CVE-2021-21332 Debian Updated 11 August 2026
  • GHSA-246w-56m2-5899

    Cross-site scripting (XSS) vulnerability in the password reset endpoint

    Moderate CVE-2021-21332 PyPI Updated 8 July 2026
  • PYSEC-2021-133

    Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.27.0, the password reset…

    CVE-2021-21332 PyPI Updated 8 November 2023
  • UBUNTU-CVE-2021-21332

    Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.27.0, the password reset…

    CVE-2021-21332 Ubuntu Updated 8 September 2025

References