Vulnerabilities · 2020 · Matrix
CVE-2020-26891
Matrix Synapse vulnerability
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.
Affected products
Synapse. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Matrix Synapse runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory · Vendor Advisory
- github.com/matrix-org/synapse/pull/8444 · Patch
- github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq · Patch
- github.com/matrix-org/synapse/releases/tag/v1.21.2 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2020-26891
- github.com/matrix-org/synapse/releases
- github.com/pypa/advisory-database/tree/main/vulns/matrix-synapse/PYSEC-2020-238.yaml
- github.com/advisories/GHSA-3x8c-fmpc-5rmq
- nvd.nist.gov/vuln/detail/CVE-2020-26891
- cve.org/CVERecord?id=CVE-2020-26891
More vulnerabilities in Matrix products
CVE-2025-30355CVE-2025-27146CVE-2024-53863CVE-2024-52815CVE-2024-52805CVE-2024-45193CVE-2024-45192CVE-2024-45191All 80
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.