Security mailing lists by PureSourceCode

CVE-2021-21333

MEDIUM 6.1CVSS 3.1

HTML injection in email and account expiry notifications

Synapse is a Matrix reference homeserver written in python (pypi package matrix-synapse). Matrix is an ecosystem for open federated Instant Messaging and VoIP. In Synapse before version 1.27.0, the notification emails sent for notifications for missed messages or for an expiring account are subject to HTML injection. In the case of the notification for missed messages, this could allow an attacker to insert forged content into the email. The account expiry feature is not enabled by default and the HTML injection is not controllable by an attacker. This is fixed in version 1.27.0.

Published
26 Mar 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-74CWE-79
Also known as
GHSA-c5f8-35qr-q4fmPYSEC-2021-134
Sources
NVDJSONOSV GHSA-c5f8-35qr-q4fmJSONOSV PYSEC-2021-134JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:N/VA:N/SC:N/SI:H/SA:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:N/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 LOW 2.6 AV:N/AC:H/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD matrix synapse
cpe:2.3:a:matrix:synapse:*:*:*:*:*:*:*:*
< 1.27.0 1.27.0
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
= 34
OSV PyPI matrix-synapse < 1.27.0 1.27.0

References

History

  • 25 Nov 2026 20:32 UTC · NVD: first stored (published 26 Mar 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 26 Mar 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Mar 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.