CVE-2020-26891
MEDIUM 6.1CVSS 3.1Cross-site scripting (XSS) vulnerability in the fallback authentication endpoint
AuthRestServlet in Matrix Synapse before 1.21.0 is vulnerable to XSS due to unsafe interpolation of the session GET parameter. This allows a remote attacker to execute an XSS attack on the domain Synapse is hosted on, by supplying the victim user with a malicious URL to the /_matrix/client/r0/auth//fallback/web or /_matrix/client/unstable/auth//fallback/web Synapse endpoints.
- Published
- 19 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-3x8c-fmpc-5rmqPYSEC-2020-238
- Sources
- NVDJSONOSV GHSA-3x8c-fmpc-5rmqJSONOSV PYSEC-2020-238JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | matrix | synapsecpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:* |
< 1.21.0 | 1.21.0 |
| OSV | PyPI | matrix-synapse | < 1.21.0 | 1.21.0 |
References
- https://github.com/matrix-org/synapse/pull/8444 · Issue Tracking, Patch, Third Party Advisory, WEB
- https://github.com/matrix-org/synapse/releases/tag/v1.21.2 · Release Notes, Third Party Advisory, WEB
- https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq · Patch, Third Party Advisory, WEB, ADVISORY
- https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory · Release Notes, Vendor Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2020-26891 · ADVISORY
- https://github.com/matrix-org/synapse · PACKAGE
- https://github.com/matrix-org/synapse/releases · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2020-238.yaml · WEB
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 19 Oct 2020)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 19 Oct 2020)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 16 Oct 2020)