# CVE-2020-26891: Cross-site scripting (XSS) vulnerability in the fallback authentication endpoint

- Severity: Medium 6.1 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.92%, higher than 80% of CVEs (2026-12-01)
- Published: 2020-10-16T16:56:04.000Z
- Modified: 2026-07-08T06:30:00.309Z
- Also known as: GHSA-3x8c-fmpc-5rmq, PYSEC-2020-238
- Weaknesses: CWE-79
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- matrix-synapse (PyPI): before 1.21.0
- matrix synapse: before 1.21.0

## Every score

- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:2.0 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://github.com/matrix-org/synapse/pull/8444> (issue-tracking, patch, third-party-advisory, web)
- <https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory> (advisory, release-notes, vendor-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> (advisory, patch, third-party-advisory, web)
- <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)

## Sources

- CVE List: [CVE-2020-26891](https://www.cve.org/CVERecord?id=CVE-2020-26891), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-3x8c-fmpc-5rmq](https://github.com/advisories/GHSA-3x8c-fmpc-5rmq), CC-BY-4.0, modified 2026-07-08
- NVD: [CVE-2020-26891](https://nvd.nist.gov/vuln/detail/CVE-2020-26891), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2020-238](https://osv.dev/vulnerability/PYSEC-2020-238), CC-BY-4.0, modified 2023-11-08

---

Page: https://cve.day/CVE-2020-26891 · Whole record: https://cve.day/CVE-2020-26891.json · Rebuilt by cve.day 2026-11-25T22:57:55.272Z
