VDB

CVE-2021-21332

CVE-2021-21332 PUBLISHED CVSS 6.9 MEDIUM

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

Reported by github_m · Published March 26, 2021

matrix-synapse is fixed in e54746bdf7d5c831eabe4dcea76a7626f1de73df and 1.27.0 (PyPI)

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
matrix-synapsePyPIe54746bdf7d5c831eabe4dcea76a7626f1de73df, 1.27.0
synapsematrix1.27.0

Risk scores

CVSS 3.1
6.9
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N

Affected products

VendorProductVersions
matrix-orgsynapse< 1.27.0
matrix-orgsynapse0
PyPImatrix-synapse0

Timeline

  • Mar 26, 2021 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Aug 27, 2021 CVE Updated
  • Mar 10, 2026 Security Advisory
  • Aug 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-21332
vulnetix vdb fixes CVE-2021-21332

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2021-21332/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›