Skip to main content
← All vulnerabilities
CVE-2026-55850

Element Web: A malicious homeserver can inject HTML in Element Web using its homepage

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.12.22
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • element-hq element-web

    fixed in 1.12.22

References 4

GitHub · element-hq/element-web

machinespirits.com