Skip to content
OpenAdvisories
Medium · 6.1 CVE-2020-26891 EUVD-2020-0108GHSA-3x8c-fmpc-5rmqPYSEC-2020-238

Cross-site scripting (XSS) vulnerability in the fallback authentication endpoint

Published Oct 19, 2020 · Updated Aug 4, 2024 · 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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu Pro 22.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 20.04 LTS matrix-synapse No fix yet —
Ubuntu Pro 18.04 LTS matrix-synapse No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed matrix-synapse 1.43.0-1.1 openSUSE-SU-2024:11041-1
ReleasePackageFixed inAdvisory
Alpine v3.24 synapse 1.21.1-r0 —
Alpine v3.23 synapse 1.21.1-r0 —
Alpine v3.22 synapse 1.21.1-r0 —
Alpine v3.21 synapse 1.21.1-r0 —
Alpine v3.20 synapse 1.21.1-r0 —
Show 7 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 synapse 1.21.1-r0 —
Alpine v3.18 synapse 1.21.1-r0 —
Alpine v3.17 synapse 1.21.1-r0 —
Alpine v3.16 synapse 1.21.1-r0 —
Alpine v3.15 synapse 1.21.1-r0 —
Alpine v3.14 synapse 1.21.1-r0 —
Alpine v3.13 synapse 1.21.1-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI matrix-synapse < 1.21.0 1.21.0 GHSA-3x8c-fmpc-5rmq

Advisories 1

References