CVE-2026-55850 Element Web: A malicious homeserver can inject HTML in Element Web using its homepage
MediumCVSS 5.3
EPSS 0.55%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
1 package: 0 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| element-hq element-web | = < 1.12.22 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| element-hq element-web | = < 1.12.22 | No fix listed |
References
- https://github.com/element-hq/element-web/security/advisories/GHSA-wrcp-5v3v-3j6v
- https://github.com/element-hq/element-web/commit/7949980a7e3c7e397d7afe899ef1b0563c417b0e
- https://github.com/element-hq/element-web/releases/tag/v1.12.22
- https://www.machinespirits.com/advisory/563a17
- ENISA EUVD EUVD-2026-64046 third-party-advisory