{"id":"CVE-2020-26891","published":"2020-10-19T16:47:17Z","modified":"2024-08-04T16:03:22Z","title":"AuthRestServlet in Matrix Synapse before 1.21.0 is vulnerable to XSS due to unsafe interpolation of the session GET…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01923,"percentile":0.80438,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/matrix-org/synapse/pull/8444","tags":["x_refsource_MISC"]},{"url":"https://matrix.org/blog/2020/10/15/synapse-1-21-2-released-and-security-advisory","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/synapse/releases/tag/v1.21.2","tags":["x_refsource_MISC"]},{"url":"https://github.com/matrix-org/synapse/security/advisories/GHSA-3x8c-fmpc-5rmq","tags":["x_refsource_CONFIRM"]}],"priority":{"score":16.1,"factors":[{"name":"EPSS percentile","points":16.09}]},"affected":[{"ecosystem":"PyPI","package":"matrix-synapse","vulnerableRanges":["<1.21.0"],"patched":["1.21.0"],"from":["GHSA-3x8c-fmpc-5rmq","PYSEC-2020-238"],"provenance":"source"}],"summary":{"text":"AuthRestServlet in Matrix Synapse, prior to version 1.21.0, contains a cross-site scripting flaw caused by unsafe interpolation of the session GET parameter. The affected code sits in the servlet's handling of the /_matrix/client/r0/auth/*/fallback/web and /_matrix/client/unstable/auth/*/fallback/web endpoints. A remote attacker can execute script on the domain hosting Synapse by tricking a victim into opening a malicious URL that targets these endpoints, which requires user interaction but no authentication or prior network access.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:37:28Z"},"euvd":{"id":"EUVD-2020-0108","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2019-11842","published":"2019-05-09","fixed":"0.99.3.1","kev":false},{"cve":"CVE-2019-18835","published":"2019-11-07","fixed":"1.5.0","kev":false},{"cve":"CVE-2020-26890","published":"2020-11-24","fixed":"1.20.0","kev":false},{"cve":"CVE-2020-26891","published":"2020-10-19","fixed":"1.21.0","kev":false},{"cve":"CVE-2020-26257","published":"2020-12-09","fixed":"1.23.1","kev":false,"link":{"from":"CVE-2020-26891","to":"CVE-2020-26257","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:matrix-synapse","fromFixed":"1.21.0","toFixed":"1.23.1","daysApart":51}]}},{"cve":"CVE-2021-21273","published":"2021-02-26","fixed":"1.25.0","kev":false},{"cve":"CVE-2021-21274","published":"2021-02-26","fixed":"1.25.0","kev":false}],"package":"PyPI:matrix-synapse"}}