Original 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.
Affected software
- Element * repository or package match
Details
- Published
- 2026-08-22
- Last modified
- 2026-08-22
- CVSS vector
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- CWE
- CWE-79
- EPSS (30-day exploit probability)
- 0.55% (percentile 46)
References
- cve.org/CVE-2026-55850
- nvd.nist.gov/vuln/detail/CVE-2026-55850
- github.com/element-hq/element-web/security/advisories/GHSA-wrcp-5v3v-3j6v
- github.com/element-hq/element-web/commit/7949980a7e3c7e397d7afe899ef1b0563c417b0e
- github.com/element-hq/element-web/releases/tag/v1.12.22
- www.machinespirits.com/advisory/563a17
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.