Live threats

All CVEs / Matrix

CVE-2021-21332Matrix Synapse

High 8.2 No auth needed

Priority
64
CVSS 3.1
8.2
EPSS
1.2%
probability of exploitation in 30 days · percentile 69
Auth required
No
Published
Mar 26, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Synapse.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI matrix-synapse < 1.27.0 1.27.0 pip install "matrix-synapse>=1.27.0"
PyPI matrix-synapse < 1.27.0 1.27.0 pip install "matrix-synapse>=1.27.0"

Per OSV / GitHub Advisories (GHSA-246w-56m2-5899, PYSEC-2021-133). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
matrixsynapse< 1.27.0
fedoraprojectfedora34

Official sources

References

Links published by the sources. Open them with care.