CVE-2021-21333: medium-severity vulnerability in matrix-org synapse
HTML injection in email and account expiry notifications
Published · Updated
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
No sign of exploitation. No public exploitation artifact known so far.
Synapse sends notification emails that don't properly escape HTML, allowing attackers to inject malicious code into missed message notifications. This could trick users into clicking harmful links or believing fake messages came from the server.
HTML injection vulnerability in Synapse's email notification templates (CWE-74) affects missed message alerts where user-controlled input is not sanitized before rendering in HTML context. Attack requires an attacker to craft messages with HTML payloads; account expiry notifications are affected but not exploitable since the feature is disabled by default and input is not user-controlled.
In the same product, most dangerous first.