CVE-2026-55850: Element Web: A malicious homeserver can inject HTML in Element Web using its homepage

CVE-2026-55850 affects 7 listed versions of Element Web in the Dawnsentry catalogue.

5.3CVSS medium
None knownexploitation
under 1%EPSS (next 30 days)
21 August 2026published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Element Web

7 of 22 listed versions are affected. Fixed in 1.12.22. The newest release, 1.12.36, is not affected.

1.11.112 1.11.111 1.11.97 1.11.85 1.11.81 1.9.7 1.2.2

What it is

Element Web is a Matrix web client built using the Matrix React SDK. Prior to 1.12.22, EmbeddedPage in apps/web/src/components/structures/EmbeddedPage.tsx renders homeserver-supplied homepage content through dangerouslySetInnerHTML without passing it through sanitizedHtmlNode. A malicious homeserver can provide crafted HTML that Element Web renders on the homepage; the content security policy prevents JavaScript but not phishing HTML. This issue is fixed in version 1.12.22.

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X (GitHub)

Published by GitHub on 21 August 2026. Last changed 14 October 2026.

Sources

Check one version you run: look CVE-2026-55850 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.