Medium severity · published Aug 21, 2026
CVE-2026-55850
Element Web: A malicious homeserver can inject HTML in Element Web using its homepage
5.3
CVSS
0.5%
EPSS
No
On KEV
Description
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.
Exploitation
Is it being used?
Exploit prediction (EPSS)0.5% · higher than 46% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
EL
element-web · element-hq
< 1.12.22 · source: vendor
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2026-55850
CVE.org
https://www.cve.org/CVERecord?id=CVE-2026-55850
github.com
https://github.com/element-hq/element-web/commit/7949980a7e3c7e397d7afe899ef1b0563c417b0e
github.com
https://github.com/element-hq/element-web/releases/tag/v1.12.22
github.com
https://github.com/element-hq/element-web/security/advisories/GHSA-wrcp-5v3v-3j6v
www.machinespirits.com
https://www.machinespirits.com/advisory/563a17
More from element-web
7.0
CVE-2024-47779
Element Web vulnerable to potential exposure of access token via authenticated media
5.0
CVE-2024-51750
Element allows a malicious homeserver can modify events leading to unrenderable events or rooms
3.8
CVE-2025-32026
Element Web could load a malicious instance of Element Call leaking media encryption keys
3.5
CVE-2024-51749
Element's thumbnails can be abused to misrepresent the content of an attachment
2.7
CVE-2025-59161
In Element Web and Element Desktop, a malicious room can hide an unrelated room and cause it to be left when the malicious room is left
