Advisory

PYSEC-2020-238

Also known as: CVE-2020-26891, GHSA-3x8c-fmpc-5rmq

Summary

The record has no summary.

Details

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.

Severity

Not rated by the source.

Dates

Published
2020-10-19 17:15 UTC
Modified
2023-11-08 04:03 UTC

Affected packages and fixes

matrix-synapse

PyPI · All systems

Affected

  • introduced 0, fixed 1.21.0 (ecosystem)

Fixed versions

1.21.0

Fix

  • Fixed version 1.21.0
    pip install --upgrade matrix-synapse==1.21.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences