CVE-2021-21332
Cross-site scripting (XSS) vulnerability in the password reset endpoint
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.
How to fix CVE-2021-21332
To remediate CVE-2021-21332, upgrade the affected package to a fixed version below.
- —upgrade to 1.27.0-1 or later
- —upgrade to 1.27.0 or later
- —upgrade to e54746bdf7d5c831eabe4dcea76a7626f1de73df or later
Is CVE-2021-21332 being exploited?
Low — EPSS is 0.5%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.27.0-1
- from 0, < 1.27.0
- from 0, < e54746bdf7d5c831eabe4dcea76a7626f1de73df | from 0, < 1.27.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N |
| osv | CVSS 3.1 | MEDIUM6.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:L/A:N |