CVE-2021-21332Cross-site scripting (XSS) vulnerability in the password reset endpoint
- 6.9MediumCVSS base score
- 1.2%Exploitation in 30 daysEPSS · top 31% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
Description
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.
Timeline
ID reserved
By GitHub_M
- 3 months later
· 3 months later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium6.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N |
| NVDNVD · Modified | 3.1 | High8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N |
- EPSS (exploitation in 30 days)
- 1.2% · top 31% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.9.
Affected products
- affected < 1.27.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- PyPImatrix-synapseGHSA-246w-56m2-5899 (opens in a new tab)
References
References5
- https://github.com/matrix-org/synapse/security/advisories/GHSA-246w-56m2-5899 (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/matrix-org/synapse/releases/tag/v1.27.0 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/matrix-org/synapse/pull/9200 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/matrix-org/synapse/commit/e54746bdf7d5c831eabe4dcea76a7626f1de73df (opens in a new tab)x_refsource_MISCx_transferred
- FEDORA-2021-a627cfd31e (opens in a new tab)vendor-advisoryx_refsource_FEDORAx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2021-0125 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-246w-56m2-5899 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-21332)Record last updated .