CVE-2021-21333

HTML injection in email and account expiry notifications

MEDIUM
6.1
CVSS Score
Published: March 26, 2021 at 08:00 PM UTC
Updated: June 17, 2026 at 03:35 AM UTC
3 products affected across 3 vendorsFedoraSynapseSynapse

Using synapse by matrix-org?

Get instant alerts when new vulnerabilities affect synapse - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.1
Exploit prediction
EPSS 1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 1.27.0
Affected range stops below 1.27.0, so it looks safe — our inference, not a vendor statement
v < 1.27.0
Affected range stops below 1.27.0, so it looks safe — our inference, not a vendor statement

CVSS

6.1MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
REQUIRED
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-74CWE-79

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card